git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@571 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
a5a2fb4c53
commit
3aad1470de
|
@ -646,10 +646,10 @@
|
||||||
* An unlimited number of Event Sources can exists in a system and each
|
* An unlimited number of Event Sources can exists in a system and each
|
||||||
* thread can listen on an unlimited number of them.<br>
|
* thread can listen on an unlimited number of them.<br>
|
||||||
* Note that the events can be asynchronously generated but are synchronously
|
* Note that the events can be asynchronously generated but are synchronously
|
||||||
* served, a thread can serve event by calling the \p chEvtWait()
|
* served, a thread can serve event by calling a \p chEvtWaitXXX()
|
||||||
* API. If an event is generated while a listening thread is not ready to
|
* API. If an event is generated while a listening thread is not ready to
|
||||||
* serve it then the event becomes "pending" and will be served as soon the
|
* serve it then the event becomes "pending" and will be served as soon the
|
||||||
* thread invokes the \p chEvtWait().<br>
|
* thread invokes a \p chEvtWaitXXX().<br>
|
||||||
* In order to use the Event APIs the \p CH_USE_EVENTS option must be
|
* In order to use the Event APIs the \p CH_USE_EVENTS option must be
|
||||||
* specified in \p chconf.h.
|
* specified in \p chconf.h.
|
||||||
* @file events.h Events macros and structures.
|
* @file events.h Events macros and structures.
|
||||||
|
|
|
@ -160,7 +160,8 @@ void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT)
|
#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT) || \
|
||||||
|
defined(__DOXIGEN__)
|
||||||
/**
|
/**
|
||||||
* A pending event among those specified in \p ewmask is selected, cleared and
|
* A pending event among those specified in \p ewmask is selected, cleared and
|
||||||
* its mask returned.
|
* its mask returned.
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
#include <ch.h>
|
#include <ch.h>
|
||||||
|
|
||||||
#ifndef CH_OPTIMIZE_SPEED
|
#if !defined(CH_OPTIMIZE_SPEED) || defined(__DOXIGEN__)
|
||||||
/**
|
/**
|
||||||
* Inserts a thread into a priority ordered queue.
|
* Inserts a thread into a priority ordered queue.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue