syscall: ashet.process.thread.spawn
Documentation
Spawns a new thread with function passing arg to it. If stack_size is not 0, will create a stack with the given size.
Inputs
function: ThreadFunctionarg: ?anyptrstack_size: usize
Outputs
thread: Thread
Errors
SystemResources