Skip site navigation (1) Skip section navigation (2)

pgsql: Improve Windows implementation of WaitLatch/WaitLatchOrSocket.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve Windows implementation of WaitLatch/WaitLatchOrSocket.
Date: 2012-05-10 17:26:57
Message-ID: E1SSX8j-0004FC-A2@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2012-05-10 17:36:58
Subject: pgsql: Fix Windows implementation of PGSemaphoreLock.
Previous:From: Bruce MomjianDate: 2012-05-10 17:16:20
Subject: pgsql: New 9.2 SSL parameters are GUC, not libpq,per Magnus's observat

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group