![]() |
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 56 of file as_event.h.
#include "as_event.h"
Data Fields | |
uint32_t | errors |
uint32_t | index |
pthread_mutex_t | lock |
void * | loop |
struct as_event_loop * | next |
bool | pipe_cb_calling |
as_queue | pipe_cb_queue |
as_queue | queue |
pthread_t | thread |
uint32_t as_event_loop::errors |
Definition at line 78 of file as_event.h.
uint32_t as_event_loop::index |
Definition at line 75 of file as_event.h.
pthread_mutex_t as_event_loop::lock |
Definition at line 71 of file as_event.h.
void* as_event_loop::loop |
Definition at line 67 of file as_event.h.
struct as_event_loop* as_event_loop::next |
Definition at line 70 of file as_event.h.
bool as_event_loop::pipe_cb_calling |
Definition at line 79 of file as_event.h.
as_queue as_event_loop::pipe_cb_queue |
Definition at line 73 of file as_event.h.
as_queue as_event_loop::queue |
Definition at line 72 of file as_event.h.
pthread_t as_event_loop::thread |
Definition at line 74 of file as_event.h.