devela::_dep::rustix::threadFunction gettid
pub fn gettid() -> Pid
Available on crate feature dep_rustix
only.
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