proxygen
|
#include <RWSpinLock.h>
Public Member Functions | |
ReadHolder (RWSpinLock *lock) | |
ReadHolder (RWSpinLock &lock) | |
ReadHolder (ReadHolder &&other) noexcept | |
ReadHolder (UpgradedHolder &&upgraded) | |
ReadHolder (WriteHolder &&writer) | |
ReadHolder & | operator= (ReadHolder &&other) |
ReadHolder (const ReadHolder &other)=delete | |
ReadHolder & | operator= (const ReadHolder &other)=delete |
~ReadHolder () | |
void | reset (RWSpinLock *lock=nullptr) |
void | swap (ReadHolder *other) |
Private Attributes | |
RWSpinLock * | lock_ |
Friends | |
class | UpgradedHolder |
class | WriteHolder |
Definition at line 314 of file RWSpinLock.h.
|
inlineexplicit |
Definition at line 316 of file RWSpinLock.h.
References lock_, and folly::RWSpinLock::lock_shared().
Referenced by operator=().
|
inlineexplicit |
Definition at line 322 of file RWSpinLock.h.
References lock_, and folly::RWSpinLock::lock_shared().
|
inlinenoexcept |
Definition at line 326 of file RWSpinLock.h.
|
inlineexplicit |
Definition at line 331 of file RWSpinLock.h.
References lock_, and folly::RWSpinLock::unlock_upgrade_and_lock_shared().
|
inlineexplicit |
Definition at line 338 of file RWSpinLock.h.
References lock_, and folly::RWSpinLock::unlock_and_lock_shared().
|
delete |
|
inline |
Definition at line 354 of file RWSpinLock.h.
References lock_, and folly::RWSpinLock::unlock_shared().
|
inline |
Definition at line 345 of file RWSpinLock.h.
References lock_, ReadHolder(), swap(), and folly::f14::swap().
Referenced by folly::RWSpinLock::UpgradedHolder::operator=(), and folly::RWSpinLock::WriteHolder::operator=().
|
delete |
|
inline |
Definition at line 360 of file RWSpinLock.h.
References folly::RWSpinLock::lock(), lock_, folly::RWSpinLock::lock_shared(), and folly::RWSpinLock::unlock_shared().
|
inline |
Definition at line 373 of file RWSpinLock.h.
References lock_, and folly::f14::swap().
Referenced by operator=(), folly::RWSpinLock::UpgradedHolder::operator=(), folly::RWSpinLock::WriteHolder::operator=(), folly::RWSpinLock::UpgradedHolder::swap(), and folly::RWSpinLock::WriteHolder::swap().
|
friend |
Definition at line 378 of file RWSpinLock.h.
Referenced by folly::RWSpinLock::UpgradedHolder::operator=().
|
friend |
Definition at line 379 of file RWSpinLock.h.
Referenced by folly::RWSpinLock::WriteHolder::operator=().
|
private |
Definition at line 380 of file RWSpinLock.h.
Referenced by operator=(), folly::RWSpinLock::UpgradedHolder::operator=(), folly::RWSpinLock::WriteHolder::operator=(), ReadHolder(), reset(), folly::RWSpinLock::UpgradedHolder::reset(), folly::RWSpinLock::WriteHolder::reset(), swap(), folly::RWSpinLock::UpgradedHolder::swap(), folly::RWSpinLock::WriteHolder::swap(), folly::RWSpinLock::UpgradedHolder::UpgradedHolder(), folly::RWSpinLock::WriteHolder::WriteHolder(), ~ReadHolder(), folly::RWSpinLock::UpgradedHolder::~UpgradedHolder(), and folly::RWSpinLock::WriteHolder::~WriteHolder().