Skip to main content

spawn_kernel_with_features_and_run

Function spawn_kernel_with_features_and_run 

Source
pub fn spawn_kernel_with_features_and_run<F, R>(
    callback: F,
    features: KernelFeatures,
) -> impl Future<Output = R>
where F: AsyncFnOnce(&mut Locked<Unlocked>, &mut CurrentTask) -> R + Send + Sync + 'static, R: Send + Sync + 'static,
Expand description

Create and run a kernel with non-default feature settings.