pub unsafe fn sys_spawn(
    args: ThreadSpawnArgs
) -> Result<ObjID, ThreadSpawnError>
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.