recursive_timed_mutex Class
Represents a timed mutex type. Objects of this type are used to enforce mutual exclusion by using time-limited blocking within a program. Unlike objects of type timed_mutex, the effect of calling locking methods for recursive_timed_mutex objects is well-defined.
class recursive_timed_mutex;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a recursive_timed_mutex object that's not locked. |
|
Releases any resources that are used by the recursive_timed_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. |
|
Attempts to obtain ownership of the mutex for a specified time interval. |
|
Attempts to obtain ownership of the mutex until a specified time. |
|
Releases ownership of the mutex. |
Requirements
Header: mutex
Namespace: std