mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
The macro taskRESET_READY_PRIORITY checks if the task being removed from the ready list is the last one and only then resets the top ready priority by calling portRESET_READY_PRIORITY. If we already know that it is the last ready task being removed then there is no need to perform the check again and the macro portRESET_READY_PRIORITY can be called directly. We were doing the unnecessary check at two places and this commit fixes them. This commit also increases the time period of check task to ensure that all the demo tasks get a chance to run before the check is performed. |
||
---|---|---|
.. | ||
include | ||
portable | ||
croutine.c | ||
event_groups.c | ||
list.c | ||
queue.c | ||
readme.txt | ||
stream_buffer.c | ||
tasks.c | ||
timers.c |
Each real time kernel port consists of three files that contain the core kernel components and are common to every port, and one or more files that are specific to a particular microcontroller and or compiler. + The FreeRTOS/Source directory contains the three files that are common to every port - list.c, queue.c and tasks.c. The kernel is contained within these three files. croutine.c implements the optional co-routine functionality - which is normally only used on very memory limited systems. + The FreeRTOS/Source/Portable directory contains the files that are specific to a particular microcontroller and or compiler. + The FreeRTOS/Source/include directory contains the real time kernel header files. See the readme file in the FreeRTOS/Source/Portable directory for more information.