OSDN Git Service

Fix Windows setitimer() emulation to not depend on delivering an APC
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Oct 2005 15:15:16 +0000 (15:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Oct 2005 15:15:16 +0000 (15:15 +0000)
commit25777f6fd312b3f3e32edb921d79e3d8c7b499a6
treed69976608fc3d97df70ed1f50a944f4e1a2ec036
parentb83547201fb321bca43276911d6839ab7ad7e7f7
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.
src/backend/port/win32/signal.c
src/backend/port/win32/socket.c
src/backend/port/win32/timer.c
src/include/miscadmin.h
src/include/port/win32.h