CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)svr1(dot)postgresql(dot)org 03/09/13 11:49:51
Modified files:
. : configure.in
src/include : port.h
src/port : thread.c
src/template : bsdi freebsd linux netbsd osf solaris unixware
Log message:
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.