supports_wait

abstract var supports_wait: Int(source)

Internal Emscripten thread-local wasm global.

Semantically the same as testing "!ENVIRONMENT_IS_WEB" in JS

Non-zero if the calling thread supports Atomic.wait (For example if called from the main browser thread, this function will return zero since blocking is not allowed there)

Part of the thread state. Initialized (in __set_thread_state()) from values passed to _emscripten_thread_init

See emscripten_thread_state.S