Function riot_wrappers::thread::spawn

source ·
pub fn spawn<R>(
    stack: &'static mut [u8],
    closure: &'static mut R,
    name: &'static CStr,
    priority: u8,
    flags: i32
) -> Result<TrackedThread, kernel_pid_t>
where R: Send + FnMut(),
Expand description

Create a thread with a statically allocated stack