diff options
| author | Bruce Momjian | 2003-09-13 14:49:51 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2003-09-13 14:49:51 +0000 |
| commit | b041d3e3a17331f9fc76509a577c6ed63067aded (patch) | |
| tree | 21574080f45d78c1de8a8bb128f8c35474cf18de /src/template/linux | |
| parent | 509a9cd3f922c38c19d35e81bb1427d663ba4aba (diff) | |
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.
Diffstat (limited to 'src/template/linux')
| -rw-r--r-- | src/template/linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template/linux b/src/template/linux index db13803710..0aab11631f 100644 --- a/src/template/linux +++ b/src/template/linux @@ -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" |
