Skip to main content

wrap_root_kernel

Function wrap_root_kernel 

Source
pub fn wrap_root_kernel(
    kernel: Box<dyn Kernel>,
    label: impl Into<String>,
) -> Arc<ScopeKernel<RootMarker>> ⓘ
Expand description

Construct a workload-root ScopeKernel<RootMarker> from a compiled kernel of any engine: the door into the typed scope path, where a host spawns children it keeps and releases by name rather than dropping a kernel on the floor. Every child spawned under it runs on its engine.