public member function
<mutex>
default (1) | constexpr recursive_timed_mutex() noexcept; |
---|
copy [deleted] (2) | recursive_timed_mutex (const timed_mutex&) = delete; |
---|
Construct recursive_timed_mutex
Constructs a recursive_timed_mutex object.
The object is in an unlocked state.
recursive_timed_mutex objects cannot be copied/moved (both the copy constructor and assignment operator are deleted for this type).
Data races
The construction of recursive_timed_mutex is not atomic itself: Accessing the object while being constructed may initiate a data race.
Exception safety
No-throw guarantee: never throws exceptions.