A lock‐holder base which holds shared locks for shared mutex types or exclusive locks otherwise.
Synopsis
Declared in <folly/synchronization/Lock.h>
template<typename Mutex>
class hybrid_lock_base;
Member Functions
Name |
Description |
Swaps the held lock state with another lock holder. |
Using Declarations
Name |
Friends
Name |
Description |
Swaps the held lock state of two lock holders. |
Derived Classes
Name |
Description |
A lock‐holder type which holds shared locks for shared mutex types or exclusive locks otherwise. |
Created with MrDocs