Function avr_oxide::concurrency::thread::spawn

source ·
pub fn spawn<F>(f: F) -> JoinHandle
where F: FnOnce() -> u8 + Send + 'static,
Expand description

Spawn a new thread, returning a JoinHandle for it. Panics if the thread cannot be spawned.