folly::ScopedUnlocker

This class temporarily unlocks a LockedPtr in a scoped manner.

Synopsis

Declared in <folly/Synchronized.h>

template<
    class SynchronizedType,
    class LockPolicy>
class ScopedUnlocker;

Member Functions

NameDescription
ScopedUnlocker [constructor]Constructors
~ScopedUnlocker [destructor]Re-lock the associated pointer, unless this unlocker was moved from.
operator= Assignment operators