std::unique_lock::operator bool — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(depuis C++11) | |
Vérifie si *this possède un mutex verrouillé ou non. Appelle effectivement owns_lock() .
Original:
Checks whether *this owns a locked mutex or not. Effectively calls owns_lock().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
(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.
Retourne la valeur
true si *this a un mutex associé et a acquis la propriété de celui-ci, false autrement .
Original:
true if *this has an associated mutex and has acquired ownership of it, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Exceptions
Voir aussi
teste si la serrure possède sa mutex associé Original: tests whether the lock owns its associated mutex The text has been machine-translated via Google Translate. (fonction membre publique) [edit] | |