std::unique_lock::owns_lock
Aus cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody> bool owns_lock() const; |
(seit C++11) | |
Überprüft, ob
*this einen gesperrten Mutex oder nicht besitzt .Original:
Checks whether
*this owns a locked mutex or not.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.
Parameter
(None)
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.
Rückgabewert
true wenn *this hat einen zugeordneten Mutex und erworben hat Eigentum, false sonst .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.
You can help to correct and verify the translation. Click here for instructions.
Ausnahmen
Siehe auch
Tests, ob die Sperre der zugehörigen Mutex besitzt Original: tests whether the lock owns its associated mutex The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) | |