mirror of
https://github.com/apache/nuttx.git
synced 2025-12-06 17:23:49 +08:00
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>