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
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
Swaps the associated mutex and ownership status with that of a specified object.
void swap(
unique_lock& Other
) _NOEXCEPT;
Header: mutex
Namespace: std