![]() |
Generic asynchronous event loop abstraction. There is one event loop per thread. Event loops can be created by the client, or be referenced to externally created event loops.
Definition at line 107 of file as_event.h.
#include "as_event.h"
Data Fields | |
as_queue | delay_queue |
uint32_t | errors |
uint32_t | index |
pthread_mutex_t | lock |
void * | loop |
int | max_commands_in_process |
uint32_t | max_commands_in_queue |
struct as_event_loop * | next |
int | pending |
bool | pipe_cb_calling |
as_queue | pipe_cb_queue |
as_queue | queue |
pthread_t | thread |
bool | using_delay_queue |
as_queue as_event_loop::delay_queue |
Definition at line 126 of file as_event.h.
uint32_t as_event_loop::errors |
Definition at line 135 of file as_event.h.
uint32_t as_event_loop::index |
Definition at line 129 of file as_event.h.
pthread_mutex_t as_event_loop::lock |
Definition at line 124 of file as_event.h.
void* as_event_loop::loop |
Definition at line 120 of file as_event.h.
int as_event_loop::max_commands_in_process |
Definition at line 131 of file as_event.h.
uint32_t as_event_loop::max_commands_in_queue |
Definition at line 130 of file as_event.h.
struct as_event_loop* as_event_loop::next |
Definition at line 123 of file as_event.h.
int as_event_loop::pending |
Definition at line 132 of file as_event.h.
bool as_event_loop::pipe_cb_calling |
Definition at line 137 of file as_event.h.
as_queue as_event_loop::pipe_cb_queue |
Definition at line 127 of file as_event.h.
as_queue as_event_loop::queue |
Definition at line 125 of file as_event.h.
pthread_t as_event_loop::thread |
Definition at line 128 of file as_event.h.
bool as_event_loop::using_delay_queue |
Definition at line 136 of file as_event.h.