std::swap(std::unique_lock)
De 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> &lhs, |
||
Se especializa en el algoritmo std::swap std::unique_lock. Intercambios del estado de
lhs con la de rhs. Efectivamente llama lhs.swap(rhs) .Original:
Specializes the std::swap algorithm for std::unique_lock. Exchanges the state of
lhs with that of rhs. Effectively calls lhs.swap(rhs).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.
Contenido |
[editar] Parámetros
| lhs, rhs | - | bloquear envoltorios cuyos estados a intercambiar
Original: lock wrappers whose states to swap 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
(Ninguno)
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] Excepciones
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| swaps afirmar con otro std::unique_lock Original: swaps state with another std::unique_lock The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |