FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
Gaurav-Aggarwal-AWS ad4e723829
Mark mutex as robust to prevent deadlocks (#1233)
Mark mutex as robust to prevent deadlocks

Prevent application hangs that occur when a thread dies while holding a
mutex, particularly during vTaskEndScheduler or exit calls. This is
achieved by setting the PTHREAD_MUTEX_ROBUST attribute on the mutex.

Fixes:
- GitHub issue: FreeRTOS/FreeRTOS-Kernel#1217
- Forum thread: freertos.org/t/22287

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2025-01-29 07:27:30 +05:30
..
utils Mark mutex as robust to prevent deadlocks (#1233) 2025-01-29 07:27:30 +05:30
FreeRTOS-simulator-for-Linux.url Normalize line endings and whitespace in source files 2022-11-29 15:38:47 -08:00
port.c Mark mutex as robust to prevent deadlocks (#1233) 2025-01-29 07:27:30 +05:30
portmacro.h Fix spelling typos (#1168) 2024-11-01 10:09:49 -07:00