Skip to main content

worker_terminate

Function worker_terminate 

Source
pub fn worker_terminate(handle: u32) -> i32
Expand description

Terminate a worker and free its host-side resources.

Returns 1 if the worker was running, 0 if the handle is unknown.