Function current_thread_id

pub fn current_thread_id() -> usize

Returns a unique id for the current thread.