rust_htslib::htslib

Function hts_tpool_dispatch3

Source
pub unsafe extern "C" fn hts_tpool_dispatch3(
    p: *mut hts_tpool,
    q: *mut hts_tpool_process,
    exec_func: Option<unsafe extern "C" fn(_: *mut c_void) -> *mut c_void>,
    arg: *mut c_void,
    job_cleanup: Option<unsafe extern "C" fn(_: *mut c_void)>,
    result_cleanup: Option<unsafe extern "C" fn(_: *mut c_void)>,
    nonblock: i32,
) -> i32