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_TOKENRwLockfails to write to