A RetroSearch Logo

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

Search Query:

Showing content from https://cplusplus.com/recursive_timed_mutex below:

class

<mutex>

std::recursive_timed_mutex
class recursive_timed_mutex;

Recursive timed mutex

A recursive timed mutex combines both the features of recursive_mutex and the features of timed_mutex into a single class: it supports both acquiring multiple lock levels by a single thread and also timed try-lock requests.

It is guaranteed to be a standard-layout class.



Member types member type description native_handle_type Type returned by native_handle (only defined if library implementation supports it)
Member functions
(constructor)
Construct recursive_timed_mutex (public member function)
lock
Lock recursive timed mutex (public member function)
try_lock
Lock recursive timed mutex if not locked (public member function)
try_lock_for
Try to lock for time span (public member function)
try_lock_until
Try to lock until time point (public member function)
unlock
Unlock timed mutex (public member function)
native_handle
Get native handle (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