#
A type
L
meets the
Cpp17BasicLockable
requirements if the following expressions are well-formed and have the specified semantics (
m
denotes a value of type
L
)
.
🔗
m
.
lock
(
)
2
#
Effects
: Blocks 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
(
)
3
#
Throws
: Nothing
.