Skip to content

Updated waitqueue support#8672

Open
stevenfontanella wants to merge 9 commits into
mainfrom
waitqueue
Open

Updated waitqueue support#8672
stevenfontanella wants to merge 9 commits into
mainfrom
waitqueue

Conversation

@stevenfontanella

@stevenfontanella stevenfontanella commented May 5, 2026

Copy link
Copy Markdown
Member

Part of #8315. Implements the updated design from https://github.com/WebAssembly/shared-everything-threads/blob/main/proposals/shared-everything-threads/Overview.md#managed-waiter-queues / WebAssembly/shared-everything-threads#110. Also see the discussion in WebAssembly/shared-everything-threads#102. This PR implements struct.wait for i32 fields only at the moment (like in V8).

Binary constants are not spec'ed yet and taken from https://chromium-review.googlesource.com/c/v8/v8/+/7790723.

Remaining after this PR:

  • struct.wait for any field that is eqref
  • Fuzzer support (generating instructions that are guaranteed not to block).

@stevenfontanella stevenfontanella force-pushed the waitqueue branch 10 times, most recently from a621ae7 to 5944f1c Compare May 12, 2026 20:12
@stevenfontanella stevenfontanella force-pushed the waitqueue branch 2 times, most recently from fbb212f to 7984294 Compare May 12, 2026 22:20
@stevenfontanella stevenfontanella marked this pull request as ready for review July 8, 2026 19:31
@stevenfontanella stevenfontanella requested a review from a team as a code owner July 8, 2026 19:31
@stevenfontanella stevenfontanella requested review from aheejin and removed request for a team July 8, 2026 19:31
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