current_worker_ordinal

Function current_worker_ordinal 

Source
pub fn current_worker_ordinal() -> Option<usize>
Expand description

Get current worker ordinal. Return None if the current thread is not a worker.