FreeRTOS-Kernel/portable
Gaurav-Aggarwal-AWS 6dab25ae4e
Pend a yield in portPRE_TASK_DELETE_HOOK (#1132)
When a task deletes itself, it calls portPRE_TASK_DELETE_HOOK which
translates to vPortCloseRunningThread on the Windows port.
vPortCloseRunningThread never returns and as a result,
taskYIELD_WITHIN_API in vTaskDelete does not get called. As a result,
the next task is not scheduled when configUSE_PREEMPTION is set to 0.

This change records that a yield is pending so that the next tick
interrupt switches out the task that was deleted.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-08-29 08:51:35 -07:00
..
ARMClang Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
ARMv8M Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
BCC/16BitDOS Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CCRH/F1Kx Add CC-RH port for Renesas F1Kx devices (#1100) 2024-08-09 11:21:21 +05:30
CCS Remove hardware dependence in portmacros.h (#1112) 2024-08-19 11:31:30 +05:30
CodeWarrior Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Common Remove access check from ISR function (#1127) 2024-08-21 15:24:46 +05:30
GCC GCC: ARM_CM0: Fix L6286E error on Keil MDK (#1131) 2024-08-29 14:06:33 +05:30
IAR Remove hardware dependence in portmacros.h (#1112) 2024-08-19 11:31:30 +05:30
Keil Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
MemMang Add heap protector to allocted heap blocks (#1125) 2024-08-20 18:34:43 +05:30
MikroC/ARM_CM4F Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
MPLAB Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
MSVC-MingW Pend a yield in portPRE_TASK_DELETE_HOOK (#1132) 2024-08-29 08:51:35 -07:00
oWatcom/16BitDOS Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Paradigm/Tern_EE Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Renesas Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Rowley Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
RVDS Update broken links in readme and comments (#1110) 2024-08-05 16:00:47 +05:30
SDCC/Cygnal Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Softune Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Tasking/ARM_CM4F Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
template Add Noreturn attribute in template port for static analysis (#1060) 2024-05-16 21:11:05 +05:30
ThirdParty Add portMEMORY_BARRIER defination to fix over-optimization in xTaskResumeAll. (#1116) 2024-08-12 17:06:47 +05:30
WizC/PIC18 Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CMakeLists.txt Update CMakeLists.txt to proper name for the ports (#1129) 2024-08-22 10:03:58 +05:30
readme.txt Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08: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/Portable/MemMang directory contains the five sample
memory allocators as described on the https://www.FreeRTOS.org WEB site.

+ The other directories each contain files specific to a particular
microcontroller or compiler, where the directory name denotes the compiler
specific files the directory contains.



For example, if you are interested in the [compiler] port for the [architecture]
microcontroller, then the port specific files are contained in
FreeRTOS/Source/Portable/[compiler]/[architecture] directory.  If this is the
only port you are interested in then all the other directories can be
ignored.