µEvLoop
A fast and lightweight event loop aimed at embedded platforms in C99.
|
Contains a signal vector and operates on in. More...
Data Fields | |
uel_llist_t * | signal_vector |
uel_sysqueues_t * | queues |
uel_syspools_t * | pools |
A quick reference to the system's internal pools. | |
uintptr_t | width |
The number of signals registered at this relay. | |
Contains a signal vector and operates on in.
The signal relay is the central data structure involved in signal operation. It contains a signal vector, an array of linked lists, each associated to a particular signal.
When a signal is listened for, the listener closure is added to the linked list corresponding to said signal. When that signal is emitted, each listener closure in the list is invoked.
uel_sysqueues_t* uel_signal_relay_t::queues |
The system's internal queues. Upon emission, signals will be enqueued on one of these.
uel_llist_t* uel_signal_relay_t::signal_vector |
Contains the signal vector. Must be large enough to contain every signal bound to this relay.