--- In [email protected], "swzoh" <sean...@...> wrote: > > --- In [email protected], "brucexs" <bswitzer@> wrote: > > > > Maybe, but why does it always for me adn Alan (on two separate win > > versions, to boot!)?
> I don't think blocking for long is not a good idea to do, especially on an UI > thread like PP's main thread, it could also block messages. So I suggested to > use instead CoWaitForMultipleHandles (which internally utilizes > MsgWaitForMultipleObjectsEx), but Alan seemed not to agree with me. Reinstated in latest version, main thread only. > Anyway, I'd rather wait on hThread than hEvent when PP is shutdown. For some reason WaitForSingleObject(hThread) locks up. I'll try CoWaitForMultipleHandles with hThread.
