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
Este browser já não é suportado.
Atualize para o Microsoft Edge para tirar partido das mais recentes funcionalidades, atualizações de segurança e de suporte técnico.
Swaps the associated mutex and ownership status with that of a specified object.
void swap(
unique_lock& Other
) _NOEXCEPT;
Header: mutex
Namespace: std