void os_eventq_run(struct os_eventq *evq)
Wrapper function that calls the os_eventq_get()
function to dequeue the event from the head of the event queue and then calls the callback function for the event.
Arguments | Description |
---|---|
evq | Event queue to dequeue the event from |
None
int main(int argc, char **argv) { sysinit(); ... while (1) { os_eventq_run(os_eventq_dflt_get()); } }