![]() |
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 52 of file as_event.h.
#include "as_event.h"
Data Fields | |
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::index |
Definition at line 68 of file as_event.h.
pthread_mutex_t as_event_loop::lock |
Definition at line 64 of file as_event.h.
void* as_event_loop::loop |
Definition at line 60 of file as_event.h.
struct as_event_loop* as_event_loop::next |
Definition at line 63 of file as_event.h.
bool as_event_loop::pipe_cb_calling |
Definition at line 69 of file as_event.h.
as_queue as_event_loop::pipe_cb_queue |
Definition at line 66 of file as_event.h.
as_queue as_event_loop::queue |
Definition at line 65 of file as_event.h.
pthread_t as_event_loop::thread |
Definition at line 67 of file as_event.h.