unique_lock::swap Method
Swaps the associated mutex and ownership status with that of a specified object.
void swap(
unique_lock& Other
) _NOEXCEPT;
Parameters
- Other
A unique_lock object.
Requirements
Header: mutex
Namespace: std
Swaps the associated mutex and ownership status with that of a specified object.
void swap(
unique_lock& Other
) _NOEXCEPT;
Header: mutex
Namespace: std