Function gettid
Source pub fn gettid() -> Pid
Available on crate feature thread
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