curr_epoch

Function curr_epoch 

Source
pub fn curr_epoch() -> Option<Epoch>
Expand description

Retrieve the current epoch from the task local storage.

This value is updated after every yield of the barrier message. Returns None if the first barrier message is not yielded.