Fix Windows setitimer() emulation to not depend on delivering an APC

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 25777f6fd312b3f3e32edb921d79e3d8c7b499a6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-25T15:15:16Z
Releases: 8.1.0
Fix Windows setitimer() emulation to not depend on delivering an APC
to the main thread.  This allows removal of WaitForSingleObjectEx() calls
from the main thread, thereby allowing us to re-enable Qingqing Zhou's
CHECK_FOR_INTERRUPTS performance improvement.  Qingqing, Magnus, et al.

Files

PathChange+/−
src/backend/port/win32/signal.c modified +1 −11
src/backend/port/win32/socket.c modified +2 −2
src/backend/port/win32/timer.c modified +80 −33
src/include/miscadmin.h modified +3 −2
src/include/port/win32.h modified +1 −2