1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Attempt threading in this order:

*      use non-*_r function names if they are all thread-safe
 *          (NEED_REENTRANT_FUNCS=no)
 *      use *_r functions if they exist (configure test)
 *      do our own locking and copying of non-threadsafe functions

New to this patch is the last option.
This commit is contained in:
Bruce Momjian
2003-09-13 14:49:51 +00:00
parent 509a9cd3f9
commit b041d3e3a1
10 changed files with 176 additions and 37 deletions

View File

@ -10,5 +10,5 @@ else
fi
SUPPORTS_THREADS=yes
NEED_REENTRANT_FUNC_NAMES=no # verified 7.1.3 2003-09-03
NEED_REENTRANT_FUNCS=no # verified 7.1.3 2003-09-03
THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"