Improve performance of CHECK_FOR_INTERRUPTS() macro on Windows by not doing

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

Commit: 6aad07d270ca2ba42c3083daf7bd640c272ecd4c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-21T21:43:46Z
Releases: 8.1.0
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.

Files

PathChange+/−
src/backend/port/win32/signal.c modified +31 −13
src/include/miscadmin.h modified +5 −3
src/include/port/win32.h modified +8 −2