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)
commit7de0057a37e3025a51a9aea935eb08d0a45e378c
tree672cfc62e089b845ba50c1ef9402e41677c952ef
parent95975161510a8156c2bc99f2f57eaf2aa010e9de
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