proxygen
|
#include <MPMCPipelineDetail.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
MPMCPipelineStageImpl (size_t capacity) | |
MPMCPipelineStageImpl () | |
template<class... Args> | |
void | blockingWrite (Args &&...args) noexcept |
template<class... Args> | |
bool | write (Args &&...args) noexcept |
template<class... Args> | |
void | blockingWriteWithTicket (uint64_t ticket, Args &&...args) noexcept |
uint64_t | blockingRead (T &elem) noexcept |
bool | read (T &elem) noexcept |
template<class... Args> | |
bool | readAndGetTicket (uint64_t &ticket, T &elem) noexcept |
uint64_t | writeCount () const noexcept |
uint64_t | readCount () const noexcept |
Private Attributes | |
MPMCQueue< T > | queue_ |
Friends | |
template<class U , class... Stages> | |
class | MPMCPipeline |
Wrapper around MPMCQueue (friend) that keeps track of tickets.
Definition at line 55 of file MPMCPipelineDetail.h.
typedef T folly::detail::MPMCPipelineStageImpl< T >::value_type |
Definition at line 57 of file MPMCPipelineDetail.h.
|
inline |
Definition at line 62 of file MPMCPipelineDetail.h.
|
inline |
|
inlinenoexcept |
Definition at line 82 of file MPMCPipelineDetail.h.
References ticket, and uint64_t.
|
inlinenoexcept |
Definition at line 68 of file MPMCPipelineDetail.h.
References testing::Args().
|
inlinenoexcept |
Definition at line 78 of file MPMCPipelineDetail.h.
|
inlinenoexcept |
Definition at line 88 of file MPMCPipelineDetail.h.
References testing::Args().
|
inlinenoexcept |
Definition at line 93 of file MPMCPipelineDetail.h.
References ticket.
|
inlinenoexcept |
Definition at line 102 of file MPMCPipelineDetail.h.
|
inlinenoexcept |
Definition at line 73 of file MPMCPipelineDetail.h.
References testing::Args().
|
inlinenoexcept |
Definition at line 98 of file MPMCPipelineDetail.h.
Definition at line 59 of file MPMCPipelineDetail.h.
|
private |
Definition at line 107 of file MPMCPipelineDetail.h.