![]() |
![]()
| ![]() |
![]()
NAMEstd::unique_lock::owns_lock - std::unique_lock::owns_lock Synopsisbool owns_lock() const noexcept; (since C++11)
Parameters(none) Return value true if *this has an associated mutex and has acquired ownership
of it, false
See also operator bool tests whether the lock owns (i.e., has locked) its
associated mutex
|