pub fn run<H: Store, T, F: FnOnce() -> T>(store: &'static H, task: F) -> TExpand description
Run a closure using a chosen global allocator. Threads spawned inside this closure will not use the assigned allocator.
pub fn run<H: Store, T, F: FnOnce() -> T>(store: &'static H, task: F) -> TRun a closure using a chosen global allocator. Threads spawned inside this closure will not use the assigned allocator.