[][src]Function sunrise_kernel::syscalls::create_thread

pub fn create_thread(
    ip: usize,
    arg: usize,
    sp: usize,
    _priority: u32,
    _processor_id: u32
) -> Result<usize, UserspaceError>

Creates a thread in the current process. The thread can then be started with the svcStartThread.

Params

Returns

A thread_handle to the created thread.