is_main_thread
Internal Emscripten thread-local wasm global.
Semantically the same as testing "!ENVIRONMENT_IS_WORKER" in JS
Part of the thread state. Initialized (in __set_thread_state()
) from values passed to _emscripten_thread_init
Internal Emscripten thread-local wasm global.
Semantically the same as testing "!ENVIRONMENT_IS_WORKER" in JS
Part of the thread state. Initialized (in __set_thread_state()
) from values passed to _emscripten_thread_init