Event Groups: Convert the 'clear bits from ISR' function into a pended function to fix reentrancy issue.

Event Groups: Ensure the 'wait bits' and 'sync' functions don't return values that still contain some internal control bits.
This commit is contained in:
Richard Barry
2014-04-23 15:23:54 +00:00
parent fa7222ab4a
commit f25503977e
7 changed files with 103 additions and 29 deletions

View File

@ -1097,13 +1097,13 @@ BaseType_t xTimerPendFunctionCall( PendedFunction_t xFunctionToPend, void *pvPar
/**
* const char * const pcTimerGetTimerName( TimerHandle_t xTimer );
*
* Returns the name that was asigned to a timer when the timer was created.
* Returns the name that was assigned to a timer when the timer was created.
*
* @param xTimer The handle of the timer being queried.
*
* @return The name asigned to the timer specified by the xTimer parameter.
* @return The name assigned to the timer specified by the xTimer parameter.
*/
const char * const pcTimerGetTimerName( TimerHandle_t xTimer );
const char * pcTimerGetTimerName( TimerHandle_t xTimer );
/*
* Functions beyond this part are not part of the public API and are intended