wasmtime_engine_increment_epoch function
- @Native<Void Function(Pointer<
wasm_engine_t> )>(ffi.Pointer<wasm_engine_t>)>()
- Pointer<
wasm_engine_t> engine
\brief Increments the engine-local epoch variable.
This function will increment the engine's current epoch which can be used to force WebAssembly code to trap if the current epoch goes beyond the #wasmtime_store_t configured epoch deadline.
This function is safe to call from any thread, and it is also async-signal-safe.
See also #wasmtime_config_epoch_interruption_set.
Implementation
@ffi.Native<ffi.Void Function(ffi.Pointer<wasm_engine_t>)>()
external void wasmtime_engine_increment_epoch(
ffi.Pointer<wasm_engine_t> engine,
);