Function xous::syscall::create_thread

source ยท
pub fn create_thread<F, T>(f: F) -> Result<WaitHandle<T>, Error>
where F: FnOnce() -> T + Send + 'static, T: Send + 'static,
Expand description

Create a new thread with the given closure.