Mutex Class
Represents a synchronization object that exclusively controls a shared resource.
class Mutex : public HandleT<HandleTraits::MutexTraits>
Members
Public Typedefs
Name |
Description |
---|---|
SyncLock |
A synonym for a class that supports synchronous locks. |
Public Constructor
Name |
Description |
---|---|
Initializes a new instance of the Mutex class. |
Public Members
Name |
Description |
---|---|
Waits until the current object, or the Mutex object associated with the specified handle, releases the mutex or the specified time-out interval has elapsed. |
Public Operator
Name |
Description |
---|---|
Assigns (moves) the specified Mutex object to the current Mutex object. |
Inheritance Hierarchy
Mutex
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers