Skip to main content

siglus_pump_step

Function siglus_pump_step 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn siglus_pump_step( handle: *mut SiglusPumpHandle, timeout_ms: u32, ) -> i32
Expand description

Pump pending events and return the host status.

ยงSafety

If non-null, handle must be a live pointer returned by siglus_pump_create. Call on the thread that created it, with exclusive access to the handle for the entire call, including during callbacks.