Documentation Home

Construct a std::shared_timed_mutex object.

shared_timed_mutex();

Effects:

Constructs a std::shared_timed_mutex instance.

Postconditions:

The newly-constructed std::shared_timed_mutex object is initially unlocked.

Throws:

An exception of type std::system_error if unable to create a new std::shared_timed_mutex instance.

Header

#include <shared_mutex>

See Also