FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix/utils
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
..
wait_for_event.c Mark mutex as robust to prevent deadlocks (#1233) 2025-01-29 07:27:30 +05:30
wait_for_event.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00