MSDN Library


You use the ManualResetEvent class to make a thread wait until some event puts it in the signaled state by calling ManualResetEvent.Set. The state of a ManualResetEvent remains signaled until it is set explicitly to the nonsignaled state by the Reset method. Any number of waiting threads, or threads that subsequently begin wait operations for the specified event object by calling one of the wait functions, can be released while the object's state is signaled. The ManualResetEvent corresponds to a Win32 CreateEvent call, specifying true for the bManualReset argument.

See Also

Threading | Threading Objects and Features | WaitHandle | AutoResetEvent

© 2016 Microsoft