FreeRTOS-Kernel/portable/ThirdParty/GCC/Posix
yi chen defa802e95 Preserve POSIX thread identity after TLS errors
TLS setup failures cannot be recovered without misclassifying FreeRTOS-owned pthreads. Fail fast after cleaning up the per-thread marker, and retain key-creation status across pthread_once callers.

Constraint: Thread identity has no recoverable fallback when POSIX TLS setup fails
Rejected: Free and continue | leaves FreeRTOS-owned pthreads misclassified
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep fatal handling unless a recoverable status path is added end to end
Tested: WSL GCC -Wall -Wextra -Werror compile; success path; injected pthread_once, pthread_key_create, malloc, and pthread_setspecific failures
Not-tested: Full FreeRTOS POSIX scheduler test suite
Related: FreeRTOS/FreeRTOS-Kernel#1447
2026-07-13 04:46:08 +08:00
..
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 Preserve POSIX thread identity after TLS errors 2026-07-13 04:46:08 +08:00
portmacro.h Fix spelling typos (#1168) 2024-11-01 10:09:49 -07:00