C++ 概念： Lockable
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.
|m.try_lock()||Attempts to acquire the lock for the current execution agent without blocking. If an exception is thrown, no lock is obtained.||true if the lock was acquired, false otherwise|