The BasicLockable requirements describe the minimal characteristics of types that provide exclusive blocking semantics for execution agents (i.e. threads).
[edit] RequirementsFor type L
to be BasicLockable, the following conditions have to be satisfied for an object m
of type L
:
m
. Releases the non-shared lock held by the execution agent.
Throws no exceptions.
[edit]A lock on an object is said to be non-shared lock if it is acquired by a call to lock
, try_lock
, try_lock_for
, or try_lock_until
member function.
The following standard library types satisfy BasicLockable requirements:
provides basic mutual exclusion facilityRetroSearch 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