nuttx/libs/libc
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
..
aio style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
assert
audio
builtin
ctype style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
dirent
dlfcn libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
elf cmake(feat):define elf option and enable apps module build 2026-01-19 14:45:37 +08:00
errno
eventfd
fdt
fixedmath libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
gdbstub arch/arm64: fix backtrace register access and gdbstub config guard 2026-01-16 08:55:47 -03:00
gnssutils libc: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
grp
hex2bin
inttypes
libgen
locale style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
lzf
machine arch/x86_64: Add gprof 2026-01-20 22:43:38 +08:00
misc driver/note: Fix compilation error when CONFIG_SYSLOG_TO_SCHED_NOTE=y 2026-01-23 07:48:08 -03:00
net libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
netdb libc/netdb: avoid unnecessary DNS notify if nameserver exists 2026-01-15 16:20:44 -03:00
obstack libs/libc/obstack/lib_obstack_free.c: fix object check within chunk 2025-12-13 18:13:19 -03:00
pthread pthread: remove tl_lock 2026-01-26 20:56:12 +08:00
pwd
queue
regex libs/libc/regex: remove logically dead code in regcomp.c 2026-01-24 19:28:56 +08:00
sched sched: fix regression from PR #18040 by adding NULL pointer safety 2026-01-23 16:59:55 +08:00
search libc/search: add foreach api for hcreate_data 2025-12-25 09:39:03 +08:00
semaphore pthread: move pthread_cond to userspace 2026-01-26 16:26:39 +08:00
signal sched/signal: Add support for disabling all signal functions 2026-01-18 08:24:13 -03:00
spawn libs/libc: posix_spawnattr_init zero-initialize attr 2026-01-21 20:31:35 +08:00
stdio freopen: fix fdsan report error 2026-01-15 22:58:17 +08:00
stdlib libc: Add Kconfig option to disable hex-string to float parsing 2026-01-08 02:37:21 +08:00
stream libc/syslograwstream: Use memrchr to locate the newline character 2026-01-01 17:03:50 +08:00
string string:use builtin function to optimize libc function 2025-12-20 10:38:53 +08:00
symtab
syslog drivers/syslog: Add RFC 5424 protocol support 2025-06-13 20:26:57 +08:00
termios libs: unify Private Types banners 2025-05-28 10:17:15 +08:00
time libc/localtime: rename offsetp to poffset 2025-12-19 13:46:21 -05:00
tls sched: fix regression from PR #18040 by adding NULL pointer safety 2026-01-23 16:59:55 +08:00
uio
unistd libs/libc: replace critical section with spinlock in hostname operations 2026-01-17 14:13:07 +08:00
userfs style/FAR: remove FAR qualifier 2025-11-10 10:56:29 +01:00
uuid
wchar style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
wctype
wqueue wqueue: fix the config typo error 2026-01-14 09:24:00 +08:00
zoneinfo
.gitignore libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
CMakeLists.txt
Kconfig libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00
libc.csv sched/signal: Add support for disabling all signal functions 2026-01-18 08:24:13 -03:00
libc.h
Makefile libc/elf: rename modlib to libelf 2025-04-11 09:43:22 +08:00