OSDN Git Service

Use CRITICAL_SECTION instead of Mutexes for thread-locking in libpq on
authorMagnus Hagander <magnus@hagander.net>
Wed, 21 May 2008 14:20:48 +0000 (14:20 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 21 May 2008 14:20:48 +0000 (14:20 +0000)
commit206378e4ab02d8ea989c9b26103756b9a8be618a
tree0e343c35b6b568d4d690e98016684f7c1cfe8c69
parent763c4866a2771a4e5c693cbd43fa349980828fab
Use CRITICAL_SECTION instead of Mutexes for thread-locking in libpq on
Windows, for better performance.

Per suggestion from Andrew Chernow, but not his patch since the underlying
code was changed to deal with return values.
src/interfaces/libpq/pthread-win32.c
src/port/pthread-win32.h