Go to the documentation of this file.
18 #ifndef EVTIMER_MBOX_H
19 #define EVTIMER_MBOX_H
void evtimer_add(evtimer_t *evtimer, evtimer_event_t *event)
Adds event to an event timer.
#define assert(cond)
abort the program if assertion is false
Message box event definition.
static int mbox_try_put(mbox_t *mbox, msg_t *msg)
Add message to mailbox.
POSIX.1-2008 compliant version of the assert macro.
static void evtimer_add_mbox(evtimer_t *evtimer, evtimer_mbox_event_t *event, mbox_t *mbox)
Adds mbox event to an event timer.
mbox_t * mbox
mbox the IPC message shall be stored
static void _evtimer_mbox_handler(evtimer_event_t *event)
Event handler for mbox events.
Messaging API for inter process communication.
msg_t msg
message to store in mbox on event
Mailbox struct definition.
static void evtimer_init_mbox(evtimer_t *evtimer)
Initializes event timer for mbox events.
evtimer_event_t event
event base class
Describes a message object which can be sent between threads.
void evtimer_init(evtimer_t *evtimer, evtimer_callback_t handler)
Initializes an event timer.