Function rustix::thread::gettid

#[must_use]
pub fn gettid() -> Pid
Documentation

gettid()—Returns the thread ID.

References