Attempt threading in this order:
Bruce Momjian <bruce@momjian.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| configure.in | modified | +3 −8 |
| src/include/port.h | modified | +5 −5 |
| src/port/thread.c | modified | +156 −17 |
| src/template/bsdi | modified | +1 −1 |
| src/template/freebsd | modified | +2 −2 |
| src/template/linux | modified | +1 −1 |
| src/template/netbsd | modified | +1 −1 |
| src/template/osf | modified | +1 −1 |
| src/template/solaris | modified | +5 −0 |
| src/template/unixware | modified | +1 −1 |