pgsql: Improve Windows implementation of WaitLatch/WaitLatchOrSocket. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve Windows implementation of WaitLatch/WaitLatchOrSocket.
Date
Msg-id E1SSX8j-0004FC-A2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve Windows implementation of WaitLatch/WaitLatchOrSocket.

Ensure that signal handlers are serviced before this function returns.
This should make the behavior more like Unix.  Also, add some more
error checking, and make some other cosmetic improvements.

No back-patch since it's not clear whether this is fixing any live bug
that would affect 9.1.  I'm more concerned about 9.2 anyway given our
considerable recent expansions in the usage of WaitLatch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8ebc908c575b3378c9d4096412d16d91d107311c

Modified Files
--------------
src/backend/port/win32_latch.c |   60 ++++++++++++++++++++++++++--------------
1 files changed, 39 insertions(+), 21 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: New 9.2 SSL parameters are GUC, not libpq, per Magnus's observat
Next
From: Bruce Momjian
Date:
Subject: pgsql: 9.2 release note updates from Peter Geoghegan