pub fn spawn<R>(
stack: &'static mut [u8],
closure: &'static mut R,
name: &'static CStr,
priority: u8,
flags: i32,
) -> Result<TrackedThread, kernel_pid_t>
Expand description
Create a thread with a statically allocated stack
pub fn spawn<R>(
stack: &'static mut [u8],
closure: &'static mut R,
name: &'static CStr,
priority: u8,
flags: i32,
) -> Result<TrackedThread, kernel_pid_t>
Create a thread with a statically allocated stack