FreeRTOS-Kernel/portable/MSVC-MingW
Gaurav-Aggarwal-AWS 2e0c623351
Fix race in prvProcessSimulatedInterrupts (#1055)
Earlier the code was suspending the current thread after calling
vTaskSwitchContext. This left a gap where the current thread could
access incorrect pxCurrentTCB after it was changed by
vTaskSwitchContext.

This commit addresses the problem by suspending the current thread
before calling vTaskSwitchContext.

It was reported here - https://github.com/FreeRTOS/FreeRTOS-Kernel/issues/1054.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2024-05-14 16:15:54 +05:30
..
port.c Fix race in prvProcessSimulatedInterrupts (#1055) 2024-05-14 16:15:54 +05:30
portmacro.h Add vPortGenerateSimulatedInterruptFromWindowsThread in MSVC port (#1044) 2024-05-08 12:03:11 +05:30