git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@515 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
6c4445c144
commit
99ed21358a
|
@ -73,6 +73,11 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
|
|||
*** Releases ***
|
||||
*****************************************************************************
|
||||
|
||||
*** 0.8.1 ***
|
||||
- FIX: Fixed a regression in version 0.8.0, the configuration switch
|
||||
CH_USE_EVENTS_TIMEOUT was redefined as CH_USE_EVENT_TIMEOUT and this broke
|
||||
the code using events timeouts (the LPC2148 C++ demo).
|
||||
|
||||
*** 0.8.0 ***
|
||||
- NEW: Added condvars mechanism on top of the mutexes subsystem.
|
||||
- NEW: Improved events subsystems, now it is also possible to use it just as
|
||||
|
|
|
@ -160,7 +160,7 @@ void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask) {
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENT_TIMEOUT)
|
||||
#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT)
|
||||
/**
|
||||
* A pending event among those specified in \p ewmask is selected, cleared and
|
||||
* its mask returned.
|
||||
|
@ -276,9 +276,9 @@ eventid_t chEvtWait(eventmask_t ewmask,
|
|||
|
||||
return i;
|
||||
}
|
||||
#endif /* defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENT_TIMEOUT) */
|
||||
#endif /* defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT) */
|
||||
|
||||
#ifdef CH_USE_EVENT_TIMEOUT
|
||||
#ifdef CH_USE_EVENTS_TIMEOUT
|
||||
/**
|
||||
* Waits for a single event.
|
||||
* A pending event among those specified in \p ewmask is selected, cleared and
|
||||
|
@ -409,7 +409,7 @@ eventid_t chEvtWaitTimeout(eventmask_t ewmask,
|
|||
|
||||
return i;
|
||||
}
|
||||
#endif /* CH_USE_EVENT_TIMEOUT */
|
||||
#endif /* CH_USE_EVENTS_TIMEOUT */
|
||||
|
||||
#endif /* CH_USE_EVENTS */
|
||||
|
||||
|
|
|
@ -90,14 +90,14 @@ extern "C" {
|
|||
void chEvtBroadcast(EventSource *esp);
|
||||
void chEvtBroadcastI(EventSource *esp);
|
||||
void chEvtDispatch(const evhandler_t handlers[], eventmask_t mask);
|
||||
#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENT_TIMEOUT)
|
||||
#if defined(CH_OPTIMIZE_SPEED) || !defined(CH_USE_EVENTS_TIMEOUT)
|
||||
eventmask_t chEvtWaitOne(eventmask_t ewmask);
|
||||
eventmask_t chEvtWaitAny(eventmask_t ewmask);
|
||||
eventmask_t chEvtWaitAll(eventmask_t ewmask);
|
||||
eventid_t chEvtWait(eventmask_t ewmask,
|
||||
const evhandler_t handlers[]);
|
||||
#endif
|
||||
#ifdef CH_USE_EVENT_TIMEOUT
|
||||
#ifdef CH_USE_EVENTS_TIMEOUT
|
||||
eventmask_t chEvtWaitOneTimeout(eventmask_t ewmask, systime_t time);
|
||||
eventmask_t chEvtWaitAnyTimeout(eventmask_t ewmask, systime_t time);
|
||||
eventmask_t chEvtWaitAllTimeout(eventmask_t ewmask, systime_t time);
|
||||
|
@ -122,7 +122,7 @@ extern "C" {
|
|||
*/
|
||||
#define chEvtRegister(esp, elp, eid) chEvtRegisterMask(esp, elp, EVENT_MASK(eid))
|
||||
|
||||
#if !defined(CH_OPTIMIZE_SPEED) && defined(CH_USE_EVENT_TIMEOUT)
|
||||
#if !defined(CH_OPTIMIZE_SPEED) && defined(CH_USE_EVENTS_TIMEOUT)
|
||||
#define chEvtWaitOne(ewmask) chEvtWaitOneTimeout(ewmask, TIME_INFINITE)
|
||||
#define chEvtWaitAny(ewmask) chEvtWaitAnyTimeout(ewmask, TIME_INFINITE)
|
||||
#define chEvtWaitAll(ewmask) chEvtWaitAllTimeout(ewmask, TIME_INFINITE)
|
||||
|
|
Loading…
Reference in New Issue