Skip to main content

spawn_with_arg_on_core

Function spawn_with_arg_on_core 

Source
pub fn spawn_with_arg_on_core(
    entry: fn(usize),
    arg: usize,
    priority: Priority,
    name: &'static str,
    target_core: usize,
) -> usize
Expand description

コアと引数 usize を指定してカーネルプロセス (カーネルスレッド) を生成し、 対象コアのランキューに登録します。