Function thread_id::get[][src]

pub fn get() -> usize

Returns a number that is unique to the calling thread.

Calling this function twice from the same thread will return the same number. Calling this function from a different thread will return a different number.