Function rustix::thread::id::gettid

source ·
pub fn gettid() -> Pid
Expand description

gettid()—Returns the thread ID.

This returns the OS thread ID, which is not necessarily the same as the rust::thread::Thread::id or the pthread ID.

§References