Fix race condition in win32 signal handling.
There was a race condition where the receiving pipe could be closed by the
child thread if the main thread was pre-empted before it got a chance to
create a new one, and the dispatch thread ran to completion during that time.
One symptom of this is that rows in pg_listener could be dropped under
Analysis and original patch by Radu Ilie, with some small
modifications by Magnus Hagander.
signal.c (r1.23 -> r1.24)
pgsql-committers by date
|Next:||From: Magnus Hagander||Date: 2010-01-31 17:16:25|
|Subject: pgsql: Fix race condition in win32 signal handling.|
|Previous:||From: User Fxjr||Date: 2010-01-31 15:48:52|
|Subject: npgsql - Npgsql2: Fixed backslash for windows .bat :)|