I want to block a thread until some action completes, but I don’t just want signaled/non-signaled. If possible I’d like to block then examine the value and take appropriate action. All of this wrapped up into one object. AutoReset and ManualReset don’t make it.
Share
Maybe a Task and a Wait?
http://msdn.microsoft.com/en-us/library/dd235608.aspx