Skip to content

Commit 97f4730

Browse files
committed
Additional info to comment
1 parent a47c4c9 commit 97f4730

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/lib/pthread/emscripten_thread_state.S

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ emscripten_is_main_browser_thread:
5353
global.get is_main_thread
5454
end_function
5555

56-
# Semantically the same as testing "!ENVIRONMENT_IS_WEB" in JS
56+
# Semantically the same as testing "!ENVIRONMENT_IS_WEB" in JS (except for the
57+
# case of Audio Worklets, which aren't web but don't support atomic waits)
5758
.globl _emscripten_thread_supports_atomics_wait
5859
_emscripten_thread_supports_atomics_wait:
5960
.functype _emscripten_thread_supports_atomics_wait () -> (i32)

0 commit comments

Comments
 (0)