proxygen
|
#include <ParkingLot.h>
Public Member Functions | |
void | push_back (WaitNodeBase *node) |
void | erase (WaitNodeBase *node) |
Static Public Member Functions | |
static Bucket & | bucketFor (uint64_t key) |
Public Attributes | |
std::mutex | mutex_ |
WaitNodeBase * | head_ |
WaitNodeBase * | tail_ |
std::atomic< uint64_t > | count_ |
Definition at line 79 of file ParkingLot.h.
Definition at line 23 of file ParkingLot.cpp.
References folly::kIsMobile.
Referenced by folly::ParkingLot< Data >::park_until(), and folly::ParkingLot< Data >::unpark().
|
inline |
Definition at line 99 of file ParkingLot.h.
References FOLLY_SAFE_DCHECK, folly::parking_lot_detail::WaitNodeBase::next_, and folly::parking_lot_detail::WaitNodeBase::prev_.
|
inline |
Definition at line 87 of file ParkingLot.h.
References FOLLY_SAFE_DCHECK, folly::parking_lot_detail::WaitNodeBase::next_, and folly::parking_lot_detail::WaitNodeBase::prev_.
std::atomic<uint64_t> folly::parking_lot_detail::Bucket::count_ |
Definition at line 83 of file ParkingLot.h.
WaitNodeBase* folly::parking_lot_detail::Bucket::head_ |
Definition at line 81 of file ParkingLot.h.
std::mutex folly::parking_lot_detail::Bucket::mutex_ |
Definition at line 80 of file ParkingLot.h.
WaitNodeBase* folly::parking_lot_detail::Bucket::tail_ |
Definition at line 82 of file ParkingLot.h.