pub fn spawn_thread( _func_ptr: EntryFn, _ctx: *mut c_void, attrs: Option<RtAttrs>, ) -> isize
Spawn a thread. ctx is delivered to func_ptr as its sole argument; caller owns the lifetime of the pointee.
ctx
func_ptr