Thread-safe questions in configure - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Thread-safe questions in configure
Date
Msg-id Pine.LNX.4.56.0307212350160.18268@krusty.credativ.de
Whole thread Raw
Responses Re: Thread-safe questions in configure  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: tsearch2 for 7.3.X
Next
From: Peter Eisentraut
Date:
Subject: threads.c