* \endcode
*
* \author Bernie Innocenti <bernie@codewiz.org>
+ *
+ * $WIZ$ module_name = "event"
*/
#ifndef KERN_EVENT_H
#define KERN_EVENT_H
-#include <cfg/compiler.h>
#include "cfg/cfg_proc.h"
#include "cfg/cfg_signal.h"
#include "cfg/cfg_timer.h"
+#include <cfg/compiler.h>
#include <cpu/power.h> /* cpu_relax() */
/**
* Wait the completion of event \a e or \a timeout elapses.
*
+ * \return true if the event triggered, false if timed out
+ *
* \note It's forbidden to use this function inside irq handling functions.
*/
bool event_waitTimeout(Event *e, ticks_t timeout);