[][src]Function thread_priority::thread_native_id

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);
}