FreeRTOS-Kernel/FreeRTOS/Source
Gaurav Aggarwal 7235743749 Only check once before re-setting ready priority
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.
2019-07-03 00:08:16 +00:00
..
include Added additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferSpaceAvailable() (singular) macro as the documentation muddled both. 2019-05-13 03:14:05 +00:00
portable Added additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferSpaceAvailable() (singular) macro as the documentation muddled both. 2019-05-13 03:14:05 +00:00
croutine.c Update version number ready for next release. 2019-05-11 01:47:37 +00:00
event_groups.c Update version number ready for next release. 2019-05-11 01:47:37 +00:00
list.c Update version number ready for next release. 2019-05-11 01:47:37 +00:00
queue.c Update version number ready for next release. 2019-05-11 01:47:37 +00:00
readme.txt Add FreeRTOS-Plus directory. 2012-08-11 21:34:11 +00:00
stream_buffer.c Update version number ready for next release. 2019-05-11 01:47:37 +00:00
tasks.c Only check once before re-setting ready priority 2019-07-03 00:08:16 +00:00
timers.c Update version number ready for next release. 2019-05-11 01:47:37 +00:00

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.