Thread: Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance tweak

Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance tweak

From
Tom Lane
Date:
Qingqing Zhou <zhouqq@cs.toronto.edu> writes:
> This patch improves the win32 CHECK_FOR_INTERRUPTS() performance by
> testing if any unblocked signals are queued before check
> pgwin32_signal_event. This avoids an unnecessary system call.

http://archives.postgresql.org/pgsql-patches/2005-10/msg00191.php

This looks to me like a pretty important performance tweak for Windows.
Can any of the people who worked on the Windows signal implementation
look it over and confirm it's OK?
        regards, tom lane