A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/mutex/timed_mutex/timed_mutex/ below:

public member function

<mutex>

std::timed_mutex::timed_mutex default (1)
constexpr timed_mutex() noexcept;
copy [deleted] (2)
timed_mutex (const timed_mutex&) = delete;

Construct timed_mutex

Constructs a timed_mutex object.

The object is in an unlocked state.

timed_mutex objects cannot be copied/moved (both the copy constructor and assignment operator are deleted for this type).



Parameters none

Data races The construction of timed_mutex is not atomic itself: Accessing the object while being constructed may initiate a data race.

Exception safetyNo-throw guarantee: never throws exceptions.

See also
timed_mutex::lock
Lock timed mutex (public member function)
timed_mutex::unlock
Unlock timed mutex (public member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4