Skip to main content

reset_simulator_cancellation_token

Function reset_simulator_cancellation_token 

Source
pub fn reset_simulator_cancellation_token()
Expand description

Resets the thread-local simulation cancellation token.

Creates a new cancellation token for the current thread, clearing any previous cancellation state. Use this to prepare for a new simulation run.

ยงPanics

  • If the SIMULATOR_CANCELLATION_TOKEN RwLock fails to write to