mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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:
@ -1,7 +1,7 @@
|
||||
CFLAGS=-O2
|
||||
|
||||
SUPPORTS_THREADS=yes
|
||||
NEED_REENTRANT_FUNC_NAMES=yes # verified glibc 2.1 2003-09-03
|
||||
NEED_REENTRANT_FUNCS=yes # verified glibc 2.1 2003-09-03
|
||||
THREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS"
|
||||
THREAD_LIBS="-lpthread"
|
||||
|
||||
|
Reference in New Issue
Block a user