Skip to content

Emscripten atomic wait suspending2#26944

Closed
sbc100 wants to merge 2 commits into
emscripten-core:mainfrom
sbc100:emscripten_atomic_wait_suspending2
Closed

Emscripten atomic wait suspending2#26944
sbc100 wants to merge 2 commits into
emscripten-core:mainfrom
sbc100:emscripten_atomic_wait_suspending2

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented May 14, 2026

No description provided.

sbc100 added 2 commits May 13, 2026 16:43
This works very much like the existing emscripten_atomic_wait_async
but using `ASYNCIFY`/`JSPI` to suspend execution until the `waitAsync`
operation is done.

The test here ends up depending on the internal
`_emscripten_thread_set_strongref` function unfortunately.
@sbc100 sbc100 closed this May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant