Re: Win32 signal code - first try

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Win32 signal code - first try
Дата
Msg-id 303E00EBDD07B943924382E153890E5434AA43@cuthbert.rcsinc.local
обсуждение исходный текст
Список pgsql-hackers-win32
> > > > > SleepEx(0,TRUE), or something of the like.

I personally thing WaitForSingleObjectEx() with a dummy handle is the
only option, unless we are actually waiting for multiple objects (it is
much faster than WFMOEx.

> looks as though blocked signals will be forever lost. If I'm right in
my
> recollection, we'll need some way to requeue the APC (which might be
> non-trivial).

Perhaps it would be easier to hold up the QueueAPC with a manual-switch
event object until the signal handler is cleared to run.


Merlin


В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Win32 signal code - first try
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: Win32 signal code - first try