Use CRITICAL_SECTION instead of Mutexes for thread-locking in libpq on

Magnus Hagander <magnus@hagander.net>

Commit: 206378e4ab02d8ea989c9b26103756b9a8be618a
Author: Magnus Hagander <magnus@hagander.net>
Date: 2008-05-21T14:20:48Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/interfaces/libpq/pthread-win32.c modified +8 −5
src/port/pthread-win32.h modified +2 −2