Skip to main content

lc_for_slabs

Function lc_for_slabs 

Source
#[unsafe(no_mangle)]
pub extern "C" fn lc_for_slabs( n: c_int, ctx: *mut c_void, cb: Option<extern "C" fn(*mut c_void, c_int, c_int)>, )
Expand description

Run cb(ctx, begin, end) over disjoint spans of 0..n on the pool selected by lc_set_threads. One thread runs the whole span on the caller. The spans cover 0..n exactly once.