FreeRTOS-Kernel/portable/ThirdParty/GCC
arctic-alpaca 03db672b8f
Fix race in POSIX port vPortEndScheduler (#1262)
* Fix race in POSIX port `vPortEndScheduler`

The `vPortEndScheduler` checks whether it's a FreeRTOS thread after signalling the scheduler thread to stop. This creates a race between the check and the destruction of the thread key. By moving the signal to the scheduler thread after the check, the race is prevented.

* Code review suggestions

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2025-04-03 14:32:44 +05:30
..
ARC_EM_HS Fix spelling typos (#1168) 2024-11-01 10:09:49 -07:00
ARC_v1 Fix spelling typos (#1168) 2024-11-01 10:09:49 -07:00
ARM_TFM tf-m: Update tf-m to TF-Mv2.0.0 release (#1038) 2024-04-18 17:55:14 +05:30
ATmega Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
Posix Fix race in POSIX port vPortEndScheduler (#1262) 2025-04-03 14:32:44 +05:30
RISC-V Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
RP2040 RP2040: update FreeRTOS_Kernel_import.cmake to match the newer version in Community-Supported-Ports (#1243) 2025-02-10 11:02:36 +05:30
Xtensa_ESP32 Move configASSERT default definition above before including portable.h. (#1185) 2024-11-04 16:35:52 +05:30