proxygen
|
#include <ThreadCachedInts.h>
Classes | |
class | Integer |
Public Member Functions | |
FOLLY_ALWAYS_INLINE void | increment (uint8_t epoch) |
FOLLY_ALWAYS_INLINE void | decrement (uint8_t epoch) |
int64_t | readFull (uint8_t epoch) |
void | waitForZero (uint8_t phase) |
void | resetAfterFork () |
Private Member Functions | |
void | init () |
Private Attributes | |
std::atomic< int64_t > | orphan_inc_ [2] = {} |
std::atomic< int64_t > | orphan_dec_ [2] = {} |
folly::detail::Futex | waiting_ {0} |
folly::ThreadLocalPtr< Integer, Tag > | cs_ |
Static Private Attributes | |
static thread_local Integer * | int_cache_ = nullptr |
Definition at line 38 of file ThreadCachedInts.h.
|
inline |
Definition at line 92 of file ThreadCachedInts.h.
|
inline |
Definition at line 80 of file ThreadCachedInts.h.
|
inlineprivate |
Definition at line 73 of file ThreadCachedInts.h.
Referenced by folly::detail::ThreadCachedInts< folly::detail::folly::detail::Tag >::decrement(), and folly::detail::ThreadCachedInts< folly::detail::folly::detail::Tag >::increment().
|
inline |
Definition at line 109 of file ThreadCachedInts.h.
Referenced by folly::detail::ThreadCachedInts< folly::detail::folly::detail::Tag >::waitForZero().
|
inline |
Definition at line 161 of file ThreadCachedInts.h.
|
inline |
Definition at line 139 of file ThreadCachedInts.h.
|
private |
Definition at line 68 of file ThreadCachedInts.h.
|
staticprivate |
Definition at line 71 of file ThreadCachedInts.h.
|
private |
Definition at line 40 of file ThreadCachedInts.h.
Referenced by folly::detail::ThreadCachedInts< Tag >::Integer::~Integer().
|
private |
Definition at line 39 of file ThreadCachedInts.h.
Referenced by folly::detail::ThreadCachedInts< Tag >::Integer::~Integer().
|
private |