Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

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

Posted by hawk777 on 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?


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

Posted by rtel on 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.


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

Posted by hawk777 on November 17, 2014

Looks good to me, thanks!


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS