FreeRTOS-Kernel/portable/MSVC-MingW
Gaurav Aggarwal d7f46c2941 Fix race in prvProcessSimulatedInterrupts
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 11:27:57 +05:30
..
port.c Fix race in prvProcessSimulatedInterrupts 2024-05-14 11:27:57 +05:30
portmacro.h Add vPortGenerateSimulatedInterruptFromWindowsThread in MSVC port (#1044) 2024-05-08 12:03:11 +05:30