Event management definitions. More...
#include <sys/thread.h>Go to the source code of this file.
Defines | |
| #define | SIGNALED ((void *)-1) |
| Signaled state definition. | |
| #define | NUT_WAIT_INFINITE 0 |
| Infinite waiting time definition. | |
| #define | NutEventPostFromIrq(qp) |
| Post an event to a specified queue from interrupt context. | |
Functions | |
| void | NutEventTimeout (HANDLE timer, void *arg) |
| Timer callback in case of event timeout. | |
| int | NutEventWait (volatile HANDLE *qhp, uint32_t ms) |
| Wait for an event in a specified queue. | |
| int | NutEventWaitNext (volatile HANDLE *qhp, uint32_t ms) |
| Wait for a new event in a specified queue. | |
| int | NutEventPostAsync (volatile HANDLE *qhp) |
| Asynchronously post an event to a specified queue. | |
| int | NutEventPost (volatile HANDLE *qhp) |
| Post an event to a specified queue. | |
| int | NutEventBroadcastAsync (volatile HANDLE *qhp) |
| Asynchronously broadcast an event to a specified queue. | |
| int | NutEventBroadcast (volatile HANDLE *qhp) |
| Broadcast an event to a specified queue. | |
Event management definitions.