nuttx/libs
hujun5 082a3d3085 pthread: remove tl_lock
This lock is currently used in three places,
mainly to protect tls->tl_mhead. Among them,
pthread_mutex_add and pthread_mutex_remove involve
writing to tls->tl_mhead, and there is
certainly no conflict within the same thread.
As for pthread_mutex_inconsistent, it involves reading. Currently,
it can only be called when the TCB task corresponding to
this tls exits, and the TCB corresponding to the
tls can no longer continue to run.
It seems that adding the lock serves no real purpose.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-26 20:56:12 +08:00
..
libbuiltin libs: remove not related comments from cmake files 2025-10-11 17:07:51 -04:00
libc pthread: remove tl_lock 2026-01-26 20:56:12 +08:00
libdsp style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
libm libm: fix warning maybe-uninitialized 2026-01-19 23:26:14 +08:00
libnx style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
libxx libcxx/libstdc++: Add libsupc++.defs to support libsupc++ 2026-01-24 17:33:19 +08:00
CMakeLists.txt libs: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00