Function palaver::gettid[][src]

pub fn gettid() -> u64

Get an identifier for the thread; uses gettid on linux; pthread_threadid_np on mac; GetCurrentThreadId on windows.