proxygen
folly::ParkingLot< Data >::WaitNode Struct Reference
Inheritance diagram for folly::ParkingLot< Data >::WaitNode:
folly::parking_lot_detail::WaitNodeBase

Public Member Functions

template<typename D >
 WaitNode (uint64_t key, uint64_t lotid, D &&data)
 
- Public Member Functions inherited from folly::parking_lot_detail::WaitNodeBase
 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 Data data_
 
- Public Attributes inherited from folly::parking_lot_detail::WaitNodeBase
const uint64_t key_
 
const uint64_t lotid_
 
WaitNodeBasenext_ {nullptr}
 
WaitNodeBaseprev_ {nullptr}
 
bool signaled_
 
std::mutex mutex_
 
std::condition_variable cond_
 

Detailed Description

template<typename Data = Unit>
struct folly::ParkingLot< Data >::WaitNode

Definition at line 166 of file ParkingLot.h.

Constructor & Destructor Documentation

template<typename Data = Unit>
template<typename D >
folly::ParkingLot< Data >::WaitNode::WaitNode ( uint64_t  key,
uint64_t  lotid,
D &&  data 
)
inline

Definition at line 170 of file ParkingLot.h.

171  : WaitNodeBase(key, lotid), data_(std::forward<D>(data)) {}
WaitNodeBase(uint64_t key, uint64_t lotid)
Definition: ParkingLot.h:44
constexpr auto data(C &c) -> decltype(c.data())
Definition: Access.h:71

Member Data Documentation

template<typename Data = Unit>
const Data folly::ParkingLot< Data >::WaitNode::data_

Definition at line 167 of file ParkingLot.h.


The documentation for this struct was generated from the following file: