Tom Lane wrote:
>
>After further thought it seems like the right thing to do is to redesign
>port/win32/timer.c so that it sets up a separate thread whose
>responsibility is to wait for timeouts and deliver a SIGALRM signal back
>to the main thread when they happen. It's probably a bit late to
>consider doing this for 8.1 :-(
>
>
>
>
The hard part looks to be cancelling/changing the timer, which means
that we can't just create a set and forget listener thread for a given
timeout. Otherwise that seems to me the straightforward approach.
But maybe one of the Windows wizards has a better idea.
I doubt the changes would be very invasive - with luck just confined to
timer.c.
cheers
andrew