The attached patch updates the thread test program to run stand-alone on
Bruce Momjian <bruce@momjian.us>
The attached patch updates the thread test program to run stand-alone on Windows. The test itself is bypassed in configure as discussed, and libpq has been updated appropriately to allow it to build in thread-safe mode. Dave Page
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +15 −0 |
| configure.in | modified | +14 −1 |
| src/interfaces/libpq/fe-connect.c | modified | +5 −1 |
| src/interfaces/libpq/fe-exec.c | modified | +7 −16 |
| src/interfaces/libpq/fe-misc.c | modified | +6 −2 |
| src/interfaces/libpq/fe-print.c | modified | +8 −9 |
| src/interfaces/libpq/fe-secure.c | modified | +18 −13 |
| src/interfaces/libpq/libpq-int.h | modified | +6 −2 |
| src/interfaces/libpq/Makefile | modified | +2 −9 |
| src/interfaces/libpq/pthread-win32.c | modified | +2 −2 |
| src/tools/thread/README | modified | +33 −0 |
| src/tools/thread/thread_test.c | modified | +111 −11 |