Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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