Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance
Дата
Msg-id
435BABCE.5090903@dunslane.net
Ответ на
Список
Дерево обсуждения
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance "Magnus Hagander" <mha@sollentuna.net>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Andrew Dunstan <andrew@dunslane.net>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Andrew Dunstan <andrew@dunslane.net>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Qingqing Zhou <zhouqq@cs.toronto.edu>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Andrew Dunstan <andrew@dunslane.net>
Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance Qingqing Zhou <zhouqq@cs.toronto.edu>


Qingqing Zhou wrote:

>>I guess there are several ways to skin this cat - the way I had sort of
>>worked out reading the MSDN docs was to call QueueUserAPC on the timer
>>thread. I'd like to know what Magnus and Merlin especially think out it.
>>
>>    
>>
>I am not sure - does this not require another thread in an alterable
>state?
>
>
>  
>

Maybe, I don't know. My impression from the docs was that the thread 
could call WaitForSingleObjectEx on the timer handle and it would also 
respond to the APC call. But my Windows API knowledge  is not exactly 
large. As long as what you have works it should be OK.

cheers

andrew

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Call for port reports
От: Magnus Hagander
Дата:
FAQ