proxygen
|
#include <ParkingLot.h>
Public Member Functions | |
WaitNodeBase (uint64_t key, uint64_t lotid) | |
template<typename Clock , typename Duration > | |
std::cv_status | wait (std::chrono::time_point< Clock, Duration > deadline) |
void | wake () |
bool | signaled () |
Public Attributes | |
const uint64_t | key_ |
const uint64_t | lotid_ |
WaitNodeBase * | next_ {nullptr} |
WaitNodeBase * | prev_ {nullptr} |
bool | signaled_ |
std::mutex | mutex_ |
std::condition_variable | cond_ |
Definition at line 33 of file ParkingLot.h.
Definition at line 44 of file ParkingLot.h.
|
inline |
Definition at line 67 of file ParkingLot.h.
References folly::parking_lot_detail::idallocator, and signaled_.
Referenced by folly::ParkingLot< Data >::park_until().
|
inline |
Definition at line 48 of file ParkingLot.h.
References max.
Referenced by folly::ParkingLot< Data >::park_until().
|
inline |
Definition at line 61 of file ParkingLot.h.
std::condition_variable folly::parking_lot_detail::WaitNodeBase::cond_ |
Definition at line 42 of file ParkingLot.h.
const uint64_t folly::parking_lot_detail::WaitNodeBase::key_ |
Definition at line 34 of file ParkingLot.h.
const uint64_t folly::parking_lot_detail::WaitNodeBase::lotid_ |
Definition at line 35 of file ParkingLot.h.
Referenced by folly::ParkingLot< Data >::park_until(), and folly::ParkingLot< Data >::unpark().
std::mutex folly::parking_lot_detail::WaitNodeBase::mutex_ |
Definition at line 41 of file ParkingLot.h.
WaitNodeBase* folly::parking_lot_detail::WaitNodeBase::next_ {nullptr} |
Definition at line 36 of file ParkingLot.h.
Referenced by folly::parking_lot_detail::Bucket::erase(), folly::parking_lot_detail::Bucket::push_back(), and folly::ParkingLot< Data >::unpark().
WaitNodeBase* folly::parking_lot_detail::WaitNodeBase::prev_ {nullptr} |
Definition at line 37 of file ParkingLot.h.
Referenced by folly::parking_lot_detail::Bucket::erase(), and folly::parking_lot_detail::Bucket::push_back().
bool folly::parking_lot_detail::WaitNodeBase::signaled_ |
Definition at line 40 of file ParkingLot.h.
Referenced by signaled().