proxygen
|
Public Member Functions | |
PCQ (uint64_t capacity) | |
void | enqueue (const T &) |
bool | try_enqueue (const T &v) |
bool | try_enqueue (T &&v) |
template<typename Rep , typename Period > | |
bool | try_enqueue_for (const T &, const std::chrono::duration< Rep, Period > &) |
void | dequeue (T &) |
bool | try_dequeue (T &item) |
template<typename Rep , typename Period > | |
bool | try_dequeue_for (T &, const std::chrono::duration< Rep, Period > &) |
PCQ () | |
template<typename... Args> | |
void | enqueue (Args &&...args) |
void | dequeue (T &) |
bool | try_dequeue (T &item) |
template<typename Rep , typename Period > | |
bool | try_dequeue_for (T &, const std::chrono::duration< Rep, Period > &) noexcept |
Private Attributes | |
folly::ProducerConsumerQueue< T > | q_ |
Definition at line 477 of file DynamicBoundedQueueTest.cpp.
Definition at line 481 of file DynamicBoundedQueueTest.cpp.
Definition at line 435 of file UnboundedQueueTest.cpp.
References folly::ProducerConsumerQueue< T >::write().
Definition at line 445 of file UnboundedQueueTest.cpp.
References folly::ProducerConsumerQueue< T >::read().
Definition at line 504 of file DynamicBoundedQueueTest.cpp.
References folly::ProducerConsumerQueue< T >::read().
|
inlinenoexcept |
Definition at line 450 of file UnboundedQueueTest.cpp.
|
inline |
Definition at line 509 of file DynamicBoundedQueueTest.cpp.
Definition at line 487 of file DynamicBoundedQueueTest.cpp.
References folly::ProducerConsumerQueue< T >::write().
Definition at line 491 of file DynamicBoundedQueueTest.cpp.
References folly::gen::move, and folly::ProducerConsumerQueue< T >::write().
|
inline |
Definition at line 496 of file DynamicBoundedQueueTest.cpp.
|
private |
Definition at line 478 of file DynamicBoundedQueueTest.cpp.