nuttx/sched/task
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 binfmt:use crt0 inside of starthook 2025-04-09 23:07:29 +08:00
exit.c sched: add header irq.h to exit.c 2024-11-04 11:07:40 -03:00
Make.defs binfmt:use crt0 inside of starthook 2025-04-09 23:07:29 +08:00
spawn.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task.h sched:use tcb_s inside of task_tcb_s , remove all cast 2025-12-22 17:55:45 +08:00
task_activate.c sched: After nxsched_add_readytorun, change first parameter to up_switch_context to this_task() 2025-08-20 10:16:43 +08:00
task_argvstr.c sched/tls: fix uninitialized argv pointer in task info 2026-01-15 16:10:11 -03:00
task_cancelpt.c task_task_cancelpt.c:coverity HIS_metric_violation: RETURN 2026-01-21 20:31:35 +08:00
task_create.c sched:use tcb_s inside of task_tcb_s , remove all cast 2025-12-22 17:55:45 +08:00
task_delete.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_execve.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_exit.c sched/task: fix task_exit regression with critical section state 2026-01-19 14:39:45 +08:00
task_exithook.c sched/signal: Add support for partially disabling signals 2026-01-18 08:24:13 -03:00
task_fork.c sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
task_getgroup.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_getpid.c task_getpid.c:coverity HIS_metric_violation: RETURN 2026-01-21 20:31:35 +08:00
task_getppid.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_gettid.c sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
task_init.c sched/pthread: move pthread mutex from syscall to user-space 2026-01-22 12:40:49 -03:00
task_join.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_posixspawn.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_prctl.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_recover.c sched/wdog: Remove wd_recover. 2025-12-24 16:46:16 +08:00
task_reparent.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
task_restart.c sched/signal: Add support for disabling all signal functions 2026-01-18 08:24:13 -03:00
task_setup.c sched/task: task_setup return path cleanup 2026-01-21 20:31:35 +08:00
task_spawn.c sched:use tcb_s inside of task_tcb_s , remove all cast 2025-12-22 17:55:45 +08:00
task_spawnparms.c sched/task: task_spawnparms return path cleanup 2026-01-21 20:31:35 +08:00
task_start.c binfmt:use crt0 inside of starthook 2025-04-09 23:07:29 +08:00
task_terminate.c sched: Remove unnecessary affinity restriction & restoration over smp calls 2025-08-20 10:16:43 +08:00