Skip to main content

reset_global_simulator_cancellation_token

Function reset_global_simulator_cancellation_token 

Source
pub fn reset_global_simulator_cancellation_token()
Expand description

Resets the global simulation cancellation token.

Creates a new global cancellation token, clearing any previous cancellation state across all threads. Use this to prepare for a new simulation run.

ยงPanics

  • If the GLOBAL_SIMULATOR_CANCELLATION_TOKEN RwLock fails to write to