Обсуждение: Re: Win32 signal code - first try

Поиск
Список
Период
Сортировка

Re: Win32 signal code - first try

От
"Merlin Moncure"
Дата:
> > > > > 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