WaitHandle

WaitHandle

The WaitHandle class encapsulates Win32 synchronization handles, and is used to represent all synchronization objects in the runtime that allow multiple wait operations. It is important to realize that although WaitHandle objects represent operating-system synchronization objects and therefore expose advanced functionality, they are also less portable than Monitor, which is fully managed and in some circumstances is more efficient in its use of operating system resources.

Examples of classes derived from WaitHandle are:

See Also

Threading | Threading Objects and Features | Mutex | AutoResetEvent | ManualResetEvent

Show:
© 2016 Microsoft