proxygen
|
Public Member Functions | |
MPMC (uint64_t capacity) | |
void | enqueue (const T &v) |
void | enqueue (T &&v) |
bool | try_enqueue (const T &v) |
bool | try_enqueue (const T &&v) |
template<typename Rep , typename Period > | |
bool | try_enqueue_for (const T &v, const std::chrono::duration< Rep, Period > &duration) |
void | dequeue (T &item) |
bool | try_dequeue (T &item) |
template<typename Rep , typename Period > | |
bool | try_dequeue_for (T &item, const std::chrono::duration< Rep, Period > &duration) |
MPMC () | |
template<typename... Args> | |
void | enqueue (Args &&...args) |
void | dequeue (T &item) |
bool | try_dequeue (T &item) |
template<typename Rep , typename Period > | |
bool | try_dequeue_for (T &item, const std::chrono::duration< Rep, Period > &duration) noexcept |
Private Attributes | |
folly::MPMCQueue< T > | q_ |
Definition at line 428 of file DynamicBoundedQueueTest.cpp.
Definition at line 432 of file DynamicBoundedQueueTest.cpp.
Definition at line 407 of file UnboundedQueueTest.cpp.
Definition at line 457 of file DynamicBoundedQueueTest.cpp.
Definition at line 403 of file UnboundedQueueTest.cpp.
Definition at line 434 of file DynamicBoundedQueueTest.cpp.
Definition at line 438 of file DynamicBoundedQueueTest.cpp.
References folly::gen::move.
Definition at line 411 of file UnboundedQueueTest.cpp.
Definition at line 461 of file DynamicBoundedQueueTest.cpp.
|
inlinenoexcept |
|
inline |
Definition at line 442 of file DynamicBoundedQueueTest.cpp.
Definition at line 446 of file DynamicBoundedQueueTest.cpp.
References folly::gen::move.
|
inline |
Definition at line 451 of file DynamicBoundedQueueTest.cpp.
References now().
|
private |
Definition at line 429 of file DynamicBoundedQueueTest.cpp.