|
13 | 13 | * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
14 | 14 | * Portions Copyright (c) 1994, Regents of the University of California
|
15 | 15 | *
|
16 |
| - * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.167 2004/08/29 05:06:55 momjian Exp $ |
| 16 | + * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.168 2004/09/06 23:55:34 tgl Exp $ |
17 | 17 | *
|
18 | 18 | * NOTES
|
19 | 19 | * some of the information in this file should be moved to other files.
|
|
88 | 88 |
|
89 | 89 | #defineCHECK_FOR_INTERRUPTS() \
|
90 | 90 | do { \
|
91 |
| -if (WaitForSingleObject(pgwin32_signal_event,0) == WAIT_OBJECT_0) \ |
| 91 | +if (WaitForSingleObjectEx(pgwin32_signal_event,0,TRUE) == WAIT_OBJECT_0) \ |
92 | 92 | pgwin32_dispatch_queued_signals(); \
|
93 | 93 | if (InterruptPending) \
|
94 | 94 | ProcessInterrupts(); \
|
|