[−][src]Function palaver::thread::gettid
pub fn gettid() -> u64
Get an identifier for the thread;
- uses
gettid
on Linux; pthread_threadid_np
on macOS;pthread_getthreadid_np
on FreeBSD;_lwp_self
on NetBSD;GetCurrentThreadId
on Windows.