X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fmware%2Fevent.h;h=6f88676346f2e70c1af213529652443fff12fe7f;hb=e8b0472be10fba4ca6baa62d8d483db90e28c06e;hp=c8f38ee1f61f5b5b8209075c6f2932abc198b322;hpb=a97e90d132f28738a92e709a543348e325ebe095;p=bertos.git diff --git a/bertos/mware/event.h b/bertos/mware/event.h index c8f38ee1..6f886763 100644 --- a/bertos/mware/event.h +++ b/bertos/mware/event.h @@ -132,15 +132,17 @@ * \endcode * * \author Bernie Innocenti + * + * $WIZ$ module_name = "event" */ #ifndef KERN_EVENT_H #define KERN_EVENT_H -#include #include "cfg/cfg_proc.h" #include "cfg/cfg_signal.h" #include "cfg/cfg_timer.h" +#include #include /* 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);