pub fn init_thread_in<K: Kernel, T: ThreadArg, const STACK_SIZE: usize>(
kernel: K,
thread: &'static mut Thread<K>,
stack: &'static mut StackStorage<STACK_SIZE>,
name: &'static str,
priority: Priority,
entry: fn(K, T),
arg: T,
) -> ForeignBox<Thread<K>>Expand description
Initializes a thread in the given storage.