walnux/syscall
Ville Juven 04e760b1c2 sched/gettid: Move thread ID to TLS
There is no need for a gettid() syscall, as the thread ID is stable through
the life of the process. It is safe to put a copy of TID to TLS. This way
a user processes can access TID quickly via its own stack, instead of
having to use an expensive syscall.

Signed-off-by: Ville Juven <ville.juven@unikie.com>
2025-04-08 22:53:10 +08:00
..
proxies syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
stubs syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
wraps syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
.gitignore syscal: Remove .context form .gitignore 2022-03-02 10:42:05 +01:00
CMakeLists.txt syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
Kconfig
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
syscall.csv sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
syscall_names.c syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
syscall_stublookup.c syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00
syscall_wraps.h syscall: migrate to SPDX identifier 2024-09-12 02:25:00 +08:00