proxygen
|
#include <Synchronized.h>
Public Member Functions | |
ScopedUnlocker (LockedPtr< SynchronizedType, LockPolicy > *p) | |
ScopedUnlocker (const ScopedUnlocker &)=delete | |
ScopedUnlocker & | operator= (const ScopedUnlocker &)=delete |
ScopedUnlocker (ScopedUnlocker &&other) noexcept | |
ScopedUnlocker & | operator= (ScopedUnlocker &&other)=delete |
~ScopedUnlocker () | |
SynchronizedType * | getSynchronized () const |
Private Types | |
using | Data = typename LockedPtr< SynchronizedType, LockPolicy >::UnlockerData |
Private Attributes | |
LockedPtr< SynchronizedType, LockPolicy > * | ptr_ {nullptr} |
Data | data_ |
This class temporarily unlocks a LockedPtr in a scoped manner.
Definition at line 775 of file Synchronized.h.
|
private |
Definition at line 1271 of file Synchronized.h.
|
inlineexplicit |
Definition at line 1249 of file Synchronized.h.
|
delete |
|
inlinenoexcept |
Definition at line 1253 of file Synchronized.h.
|
inline |
Definition at line 1257 of file Synchronized.h.
References data_, folly::gen::move, and ptr_.
|
inline |
Return a pointer to the Synchronized object used by this ScopedUnlocker.
Definition at line 1266 of file Synchronized.h.
References data_, and folly::LockedPtrBase< SynchronizedType, SynchronizedType::MutexType, LockPolicy >::getSynchronized().
|
delete |
|
delete |
|
private |
Definition at line 1273 of file Synchronized.h.
|
private |
Definition at line 1272 of file Synchronized.h.