Function rorm::rorm_runtime_shutdown
source · #[no_mangle]
pub extern "C" fn rorm_runtime_shutdown(
duration: u64,
callback: Option<unsafe extern "C" fn(_: usize, _: Error<'_>)>,
context: usize
)
Expand description
Shutdown the runtime.
Specify the amount of time to wait in milliseconds.
If no runtime is currently existing, a Error::MissingRuntimeError will be returned. If the runtime could not be locked, a Error::RuntimeError containing further information will be returned.
This function is called completely synchronously.