ariel_os::thread

Function create_noarg

pub fn create_noarg(
    func: fn(),
    stack: &'static mut [u8],
    prio: u8,
    core_affinity: Option<CoreAffinity>,
) -> ThreadId
Available on crate feature threading only.
Expand description

Low-level function to create a thread without argument

ยงPanics

Panics if more than THREAD_COUNT concurrent threads have been created.