libcortex
Event loop library following a "batteries included" approach
Loading...
Searching...
No Matches
Data Fields
crtx_graph Struct Reference

structure that represents a graph of tasks (crtx_task) that will be traversed with every crtx_event More...

#include <core.h>

Data Fields

const char * name
 
char stop
 
unsigned char flags
 
CRTX_EVENT_TYPE_VARTYPE * types
 type of events this graph accepts
 
unsigned int n_types
 number of crtx_graph::types
 
char ** descriptions
 event descriptions this graph accepts
 
unsigned int n_descriptions
 number of crtx_graph::descriptions
 
pthread_mutex_t mutex
 mutex that protects this structure
 
struct crtx_tasktasks
 list of tasks in this graph
 
enum crtx_processing_mode mode
 processing mode (none, thread, eloop) of this graph
 
struct crtx_dll * equeue
 event queue of this graph
 
struct crtx_dll * claimed
 list of events which are currently processed
 
pthread_mutex_t queue_mutex
 
pthread_cond_t queue_cond
 
struct crtx_listener_baselistener
 listener this graph belongs to
 
struct crtx_thread_job_description thread_job
 
struct crtx_dll ll_hdr
 
void * reserved1
 
void * reserved2
 

Detailed Description

structure that represents a graph of tasks (crtx_task) that will be traversed with every crtx_event


The documentation for this struct was generated from the following file: