Function thread_priority::thread_native_id
[−]
[src]
pub fn thread_native_id() -> pthread_t
Returns current thread id (pthread)
Usage
extern crate thread_priority; use thread_priority::*; fn main() { assert!(thread_native_id() > 0); }