-
Notifications
You must be signed in to change notification settings - Fork 3.5k
When Atomics.wait() is polyfilled, do not attempt to use it in _emscripten_thread_mailbox_await() #25853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
When Atomics.wait() is polyfilled, do not attempt to use it in _emscripten_thread_mailbox_await() #25853
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1261,9 +1261,9 @@ var LibraryPThread = { | |
| } | ||
| }), | ||
|
|
||
| _emscripten_thread_mailbox_await__deps: ['$checkMailbox'], | ||
| _emscripten_thread_mailbox_await__deps: ['$checkMailbox', '$waitAsyncPolyfilled'], | ||
| _emscripten_thread_mailbox_await: (pthread_ptr) => { | ||
| if (Atomics.waitAsync) { | ||
| if (!Atomics.waitAsyncPolyfilled) { | ||
|
||
| // Wait on the pthread's initial self-pointer field because it is easy and | ||
| // safe to access from sending threads that need to notify the waiting | ||
| // thread. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.