std::unique_lock::swap
Da cppreference.com
< cpp | thread | unique lock
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
template<class Mutex > void swap( unique_lock<Mutex>& other ); | (desde C++11) | |
Troca os estados internos dos objetos de bloqueio.
Original:
Exchanges the internal states of the lock objects.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar]Parâmetros
other | - | o bloqueio de trocar o estado com Original: the lock to swap the state with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar]Valor de retorno
(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Exceções
[editar]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
especialização de std::swap para unique_lock Original: specialization of std::swap for unique_lock The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (modelo de função) |