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/freebsd | |
| 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/freebsd')
| -rw-r--r-- | src/template/freebsd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/template/freebsd b/src/template/freebsd index 9e5cc6d0128..71e50140660 100644 --- a/src/template/freebsd +++ b/src/template/freebsd @@ -4,8 +4,8 @@ case $host_cpu in alpha*) CFLAGS="$CFLAGS -O" ;; esac -SUPPORTS_THREADS=no # 4.8, 5.1 2003-09-12 -NEED_REENTRANT_FUNC_NAMES=no +SUPPORTS_THREADS=yes +NEED_REENTRANT_FUNCS=yes # 4.8, 5.1 2003-09-12 case $host_os in freebsd2*|freebsd3*|freebsd4*) |
