folly::shared_lock_base

A lock-holder base which holds shared locks, usable with any shared mutex.

Synopsis

Declared in <folly/synchronization/Lock.h>

template<typename Mutex>
class shared_lock_base
    : public /* implementation-defined */

Base Classes

NameDescription
/* implementation-defined */

Member Functions

NameDescription
swap Swaps the held lock state with another lock holder.

Using Declarations

Name
Unnamed using

Friends

NameDescription
folly::swapSwaps the held lock state of two lock holders.