recursive_mutex Class
Represents a mutex type. In contrast to mutex, the behavior of calls to locking methods for objects that are already locked is well-defined.
class recursive_mutex;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a recursive_mutex object. |
|
Releases any resources that are used by the recursive_mutex object. |
Public Methods
Name |
Description |
---|---|
Blocks the calling thread until the thread obtains ownership of the mutex. |
|
Attempts to obtain ownership of the mutex without blocking. |
|
Releases ownership of the mutex. |
Requirements
Header: mutex
Namespace: std