Reports whether this lock currently owns a shared lock.
Synopsis
Declared in <folly/SharedMutex.h>
[[nodiscard]]
bool
owns_lock() const noexcept;
Return Value
true if a shared lock is held.
|
Note
|
The return value should not be discarded. |
Created with MrDocs