µEvLoop
A fast and lightweight event loop aimed at embedded platforms in C99.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
uel_signal_relay_t Struct Reference

Contains a signal vector and operates on in. More...

Collaboration diagram for uel_signal_relay_t:
Collaboration graph
[legend]

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.
 

Detailed Description

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.

Field Documentation

◆ queues

uel_sysqueues_t* uel_signal_relay_t::queues

The system's internal queues. Upon emission, signals will be enqueued on one of these.

◆ signal_vector

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.


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