proxygen
|
#include <RWSpinLock.h>
Public Member Functions | |
WriteHolder (RWSpinLock *lock) | |
WriteHolder (RWSpinLock &lock) | |
WriteHolder (UpgradedHolder &&upgraded) | |
WriteHolder (WriteHolder &&other) noexcept | |
WriteHolder & | operator= (WriteHolder &&other) |
WriteHolder (const WriteHolder &other)=delete | |
WriteHolder & | operator= (const WriteHolder &other)=delete |
~WriteHolder () | |
void | reset (RWSpinLock *lock=nullptr) |
void | swap (WriteHolder *other) |
Private Attributes | |
RWSpinLock * | lock_ |
Friends | |
class | ReadHolder |
class | UpgradedHolder |
Definition at line 446 of file RWSpinLock.h.
|
inlineexplicit |
Definition at line 448 of file RWSpinLock.h.
References folly::RWSpinLock::lock(), and folly::RWSpinLock::ReadHolder::lock_.
|
inlineexplicit |
Definition at line 454 of file RWSpinLock.h.
References folly::RWSpinLock::lock(), and folly::RWSpinLock::ReadHolder::lock_.
|
inlineexplicit |
Definition at line 459 of file RWSpinLock.h.
References folly::RWSpinLock::ReadHolder::lock_, and folly::RWSpinLock::unlock_upgrade_and_lock().
|
inlinenoexcept |
Definition at line 467 of file RWSpinLock.h.
|
delete |
|
inline |
Definition at line 480 of file RWSpinLock.h.
References folly::RWSpinLock::ReadHolder::lock_, and folly::RWSpinLock::unlock().
|
inline |
Definition at line 471 of file RWSpinLock.h.
References folly::RWSpinLock::ReadHolder::lock_, folly::RWSpinLock::ReadHolder::operator=(), folly::RWSpinLock::ReadHolder::swap(), folly::f14::swap(), and folly::RWSpinLock::ReadHolder::WriteHolder.
|
delete |
|
inline |
Definition at line 486 of file RWSpinLock.h.
References folly::RWSpinLock::lock(), folly::RWSpinLock::ReadHolder::lock_, and folly::RWSpinLock::unlock().
|
inline |
Definition at line 499 of file RWSpinLock.h.
References folly::RWSpinLock::ReadHolder::lock_, lock_, folly::RWSpinLock::ReadHolder::swap(), and folly::f14::swap().
|
friend |
Definition at line 505 of file RWSpinLock.h.
|
friend |
Definition at line 506 of file RWSpinLock.h.
|
private |
Definition at line 507 of file RWSpinLock.h.
Referenced by swap().