Showing content from https://cplusplus.com/reference/concept/BasicLockable/ below:
concept
BasicLockable
Basic lockable type
A basic lockable type is a BasicLockable type that supports lock and unlock.
Types The standard library defines the following BasicLockable types:
Requirements A value m is of a BasicLockable type if the following expressions are well-formed:
-
m.lock()
-
- Effects: Block until a lock can be acquired for the current execution agent. If an exception is thrown, then a lock shall not have been acquired for the current execution agent.
-
m.unlock()
-
- Requires: The current execution agent shall hold a lock on m.
- Effects: Releases a lock on m held by the current execution agent.
- Throws: Nothing.
See also
-
Lockable
-
Lockable type (mutex type) (concept)
-
TimedLockable
-
Timed lockable type (concept)
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