mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-10-09 23:53:04 -04:00
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 |
||
|---|---|---|
| .. | ||
| utils | ||
| FreeRTOS-simulator-for-Linux.url | ||
| port.c | ||
| portmacro.h | ||