nuttx/libs/libc/sched
hujun5 8bb6758490 sched: move process ID from kernel to TLS for faster access
Add pid field to task_info_s and move getpid() implementation to user
space TLS access. Remove getpid from syscall interface as it now returns
cached PID from thread local storage instead of kernel lookup.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-20 22:33:45 +08:00
..
clock_getcpuclockid.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
CMakeLists.txt sched: move process ID from kernel to TLS for faster access 2026-01-20 22:33:45 +08:00
Make.defs sched: move process ID from kernel to TLS for faster access 2026-01-20 22:33:45 +08:00
sched_backtrace.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
sched_cpucount.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
sched_dumpstack.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
sched_getprioritymax.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
sched_getprioritymin.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
task_cancelpt.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
task_getpid.c sched: move process ID from kernel to TLS for faster access 2026-01-20 22:33:45 +08:00
task_gettid.c sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
task_setcancelstate.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
task_setcanceltype.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
task_startup.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00
task_testcancel.c libs/libc: migrate to SPDX identifier 2024-10-01 12:25:52 +08:00