OSDN Git Service

Improve performance of CHECK_FOR_INTERRUPTS() macro on Windows by not doing
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Oct 2005 21:43:46 +0000 (21:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 21 Oct 2005 21:43:46 +0000 (21:43 +0000)
commit6aad07d270ca2ba42c3083daf7bd640c272ecd4c
treed7279cbc7c4d3f5ad1dca58f49efa024f6dc6072
parentfdff883aca7f13660d01e708f38bfb105c3c7872
Improve performance of CHECK_FOR_INTERRUPTS() macro on Windows by not doing
a kernel call unless there's some evidence of a pending signal.  This should
bring its performance on Windows into line with the Unix version.  Problem
diagnosis and patch by Qingqing Zhou.  Minor stylistic tweaks by moi ...
if it's broken, it's my fault.
src/backend/port/win32/signal.c
src/include/miscadmin.h
src/include/port/win32.h