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.
pub unsafe fn sys_spawn(args: ThreadSpawnArgs) -> Result<ObjID>
Spawn a new thread, returning the ObjID of the thread’s handle or an error.
The caller must ensure that the ThreadSpawnArgs has sane values.