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