Construct a std::timed_mutex object.
timed_mutex();
- Effects:
Constructs a
std::timed_mutexinstance.- Postconditions:
The newly-constructed
std::timed_mutexobject is initially unlocked.- Throws:
An exception of type
std::system_errorif unable to create a newstd::timed_mutexinstance.
Header
#include <mutex>