spawnThread

fun spawnThread(pthreadPtr: WasmPtr, attr: WasmPtr, startRoutine: Int, arg: WasmPtr): Int(source)

Called from __pthread_create_js to reuse an existing Web Worker or spawn a new one