Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d20df3

Browse files
committed
Temporarily disable Qingqing's Windows signal processing patch, so that
WaitForSingleObjectEx is always called by CHECK_FOR_INTERRUPTS. This should be reinstated but the setitimer() emulation will have to be redesigned first.
1 parent 63aa492 commit 4d20df3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/include/miscadmin.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
16-
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.181 2005/10/21 21:43:46 tgl Exp $
16+
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.182 2005/10/22 17:09:48 tgl Exp $
1717
*
1818
* NOTES
1919
* some of the information in this file should be moved to other files.
@@ -88,8 +88,7 @@ do { \
8888

8989
#define CHECK_FOR_INTERRUPTS() \
9090
do { \
91-
if (UNBLOCKED_SIGNAL_QUEUE()) \
92-
pgwin32_check_queued_signals(); \
91+
pgwin32_check_queued_signals(); \
9392
if (InterruptPending) \
9493
ProcessInterrupts(); \
9594
} while(0)

0 commit comments

Comments
 (0)