Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance
| От | Andrew Dunstan |
|---|---|
| Тема | Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance |
| Дата | |
| Msg-id | 435A8748.8060702@dunslane.net обсуждение исходный текст |
| Ответ на | Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance
|
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: