proxygen
|
Public Member Functions | |
LocalRefCount (TLRefCount &refCount) | |
~LocalRefCount () | |
void | collect () |
bool | operator++ () |
bool | operator-- () |
Private Member Functions | |
bool | update (Int delta) |
Private Attributes | |
AtomicInt | count_ {0} |
TLRefCount & | refCount_ |
std::mutex | collectMutex_ |
Int | collectCount_ {0} |
std::shared_ptr< void > | collectGuard_ |
Definition at line 136 of file TLRefCount.h.
|
inlineexplicit |
Definition at line 138 of file TLRefCount.h.
References folly::TLRefCount::collectGuard_, and folly::TLRefCount::globalMutex_.
|
inline |
|
inline |
Definition at line 148 of file TLRefCount.h.
References folly::TLRefCount::collectGuard_.
|
inline |
Definition at line 160 of file TLRefCount.h.
|
inline |
Definition at line 164 of file TLRefCount.h.
|
inlineprivate |
Definition at line 169 of file TLRefCount.h.
References folly::asymmetricLightBarrier(), folly::TLRefCount::collectGuard_, count, folly::TLRefCount::LOCAL, and UNLIKELY.
|
private |
Definition at line 201 of file TLRefCount.h.
|
private |
Definition at line 202 of file TLRefCount.h.
|
private |
Definition at line 200 of file TLRefCount.h.
|
private |
Definition at line 197 of file TLRefCount.h.
|
private |
Definition at line 198 of file TLRefCount.h.