Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / mware / event.h
index c8f38ee1f61f5b5b8209075c6f2932abc198b322..6f88676346f2e70c1af213529652443fff12fe7f 100644 (file)
  * \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() */
 
@@ -286,6 +288,8 @@ int event_select(Event **evs, int n, ticks_t timeout);
 /**
  * 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);