Agora
1.2.0
Agora project
|
#include <agora_buffer.h>
Public Member Functions | |
MessageInfo (size_t queue_size) | |
~MessageInfo () | |
moodycamel::ProducerToken * | GetPtok (EventType event_type, size_t qid) |
moodycamel::ConcurrentQueue< EventData > * | GetConq (EventType event_type, size_t qid) |
moodycamel::ConcurrentQueue< EventData > & | GetCompQueue (size_t qid) |
moodycamel::ProducerToken * | GetWorkerPtok (size_t qid, size_t worker_id) |
Private Member Functions | |
void | Alloc (size_t queue_size) |
void | Free () |
Private Attributes | |
std::array< moodycamel::ConcurrentQueue< EventData >, kScheduleQueues > | complete_task_queue_ |
std::array< std::array< moodycamel::ProducerToken *, kMaxThreads >, kScheduleQueues > | worker_ptoks_ptr_ |
std::array< std::array< SchedInfo, kNumEventTypes >, kScheduleQueues > | sched_info_arr_ |
|
inlineexplicit |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |