proxygen
|
Public Member Functions | |
constexpr | Integer (ThreadCachedInts *ints) noexcept |
~Integer () noexcept | |
Public Attributes | |
ThreadCachedInts * | ints_ |
std::atomic< int64_t > | inc_ [2] |
std::atomic< int64_t > | dec_ [2] |
Integer *& | cache_ |
Definition at line 43 of file ThreadCachedInts.h.
|
inlinenoexcept |
Definition at line 46 of file ThreadCachedInts.h.
References folly::detail::ThreadCachedInts< Tag >::Integer::cache_, and folly::detail::ThreadCachedInts< Tag >::Integer::dec_.
Referenced by folly::detail::ThreadCachedInts< folly::detail::folly::detail::Tag >::init().
|
inlinenoexcept |
Definition at line 51 of file ThreadCachedInts.h.
References folly::asymmetricLightBarrier(), folly::detail::futexWake(), deadlock::load(), folly::detail::ThreadCachedInts< Tag >::orphan_dec_, folly::detail::ThreadCachedInts< Tag >::orphan_inc_, and folly::detail::ThreadCachedInts< Tag >::waiting_.
Integer*& folly::detail::ThreadCachedInts< Tag >::Integer::cache_ |
Definition at line 50 of file ThreadCachedInts.h.
Referenced by folly::detail::ThreadCachedInts< Tag >::Integer::Integer().
std::atomic<int64_t> folly::detail::ThreadCachedInts< Tag >::Integer::dec_[2] |
Definition at line 49 of file ThreadCachedInts.h.
Referenced by folly::detail::ThreadCachedInts< Tag >::Integer::Integer().
std::atomic<int64_t> folly::detail::ThreadCachedInts< Tag >::Integer::inc_[2] |
Definition at line 48 of file ThreadCachedInts.h.
ThreadCachedInts* folly::detail::ThreadCachedInts< Tag >::Integer::ints_ |
Definition at line 45 of file ThreadCachedInts.h.