git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: eb88926) | patch
Fix race condition in win32 signal handling.
2010年1月31日 17:16:23 +0000 (17:16 +0000)
2010年1月31日 17:16:23 +0000 (17:16 +0000)
commit 04a4413c2a1c6573e209303594b7145103f953b0
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
heavy load.

Analysis and original patch by Radu Ilie, with some small
modifications by Magnus Hagander.
src/backend/port/win32/signal.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /