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