Not obvious that xEventGroupSetBitsFromISR can be delayed if timer task runs late

hawk777 wrote on Sunday, November 16, 2014:

xEventGroupSetBitsFromISR doesn’t actually set the bits in the event group directly but defers to the timer task. This is extraordinarily confusing if the ISR wakes up some other task (by a mechanism other than the event group in question) that has higher priority than the timer task and which then goes off and expects the event group bits to have been set. Might I recommend a note on the xEventGroupSetBitsFromISR documentation page explaining this and highly recommending that the timer task have maximum priority, or at least that tasks should have priority above the timer task only for every specific, well-defined reasons?

rtel wrote on Sunday, November 16, 2014:

How about the following: http://www.freertos.org/xEventGroupSetBitsFromISR.html

You may need to refresh the page in your web browser to see the changes.

Regards.

hawk777 wrote on Monday, November 17, 2014:

Looks good to me, thanks!