std::unique_lock::swap
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>& other ); |
(depuis C++11) | |
Les échanges les états internes des objets de verrouillage .
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.
Sommaire |
[modifier] Paramètres
other | - | le verrou d'échanger avec l'état
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. |
[modifier] Retourne la valeur
(Aucun)
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.
[modifier] Exceptions
[modifier] Exemple
This section is incomplete Reason: no example |
[modifier] Voir aussi
spécialisation des std::swap pour 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. (fonction générique) |