Use this tag for questions about the function WaitForSingleObject() of the Win32 API.
I was wondering what's the difference between calling SendMessage (which blocks) and calling PostMessage in conjunction with WaitForSingleObject. Thoughts?
c++ winapi sendmessage postmessage waitforsingleobjectI am having problems closing an application that uses WaitForSingleObject() with an INFINITE timout. The full picture is this. I …
c# multithreading winapi windows-ce waitforsingleobject