thread_createΒΆ

thread_create :: fn (entry: ThreadEntryFn, ctx: *u8) (_0: Thread, _1: Error) #inline

Create and start new thread with specified entry function. Pointer to custom ctx can be optionally passed to the entry function here.

Declared in: thread.bl