nuttx/sched/pthread
hujun5 5051721298 sched/pthread: move pthread mutex from syscall to user-space
Move pthread mutex operations from kernel-space syscall
interface to user-space implementations
to reduce syscall overhead. Relocate mutex holder list
tracking from task control block (tcb) to
thread local storage (tls) to improve memory layout and
cache efficiency. Add helper macros for
conditional mutex implementations and update syscall
interface accordingly.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-22 12:40:49 -03:00
..
CMakeLists.txt sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
Make.defs sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
pthread.h sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
pthread_cancel.c pthread_cleanup: move clenup down to tls 2024-09-14 20:15:12 +08:00
pthread_completejoin.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_condbroadcast.c pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
pthread_condclockwait.c sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
pthread_condsignal.c pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
pthread_condwait.c sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
pthread_create.c sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
pthread_detach.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_exit.c sched/signal: Add support for disabling all signal functions 2026-01-18 08:24:13 -03:00
pthread_findjoininfo.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_getaffinity.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_getschedparam.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_join.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_mutexinconsistent.c sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
pthread_release.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_setaffinity.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_setschedparam.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_setschedprio.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_sigmask.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00