Thread-safe questions in configure

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Thread-safe questions in configure
Дата
Msg-id Pine.LNX.4.56.0307212350160.18268@krusty.credativ.de
обсуждение исходный текст
Ответы Re: Thread-safe questions in configure  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
I have two questions about the support for thread-safe clients in
configure:

configure sets NEED_REENTRANT_FUNC_NAMES=no, overwriting the template
setting.  Why?

The check for reentrant functions says:

# Include special flags if threads are enabled _and_ if required for
# threading on this platform.  Some platforms have *_r functions but
# their natively named funcs are threadsafe, and should be used instead.

But the actual check does not check if "threads are enabled", only if it's
required on the platform (which doesn't work -- see above).

Is this some kind of transition state "to be fixed later"?

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: tsearch2 for 7.3.X
Следующее
От: Peter Eisentraut
Дата:
Сообщение: threads.c