Constructors
Declared in <folly/Synchronized.h>
Copy construction is disabled.
ScopedUnlocker(ScopedUnlocker const& other) = delete;
» more...
Move-construct, taking over the unlock state from other.
ScopedUnlocker(ScopedUnlocker&& other) noexcept;
» more...
Unlock p and remember it so it can be re-locked later.
explicit
ScopedUnlocker(LockedPtr<SynchronizedType, LockPolicy>* p) noexcept;
» more...
| Name | Description |
|---|---|
| other | The unlocker that would be copied from. |
| p | The locked pointer to temporarily unlock. |