Function sys_spawn

Source
pub unsafe fn sys_spawn(args: ThreadSpawnArgs) -> Result<ObjID>
Expand description

Spawn a new thread, returning the ObjID of the thread’s handle or an error.

§Safety

The caller must ensure that the ThreadSpawnArgs has sane values.