lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Diego Nehab wrote:


> I have used QueueUserAPC() in C++ thread classes,
> it works well in combination with Overlapped IO and
> SleepEx(). This does not completely solve the
> problem, but it goes close.

I agree. We would still have a problem with threads that are
blocked on system calls, such as recv/send. Those would not
awake with QueueUserAPC.

Unless they are overlapped.