Stream: git-wasmtime

Topic: wasmtime / PR #14638 Wake up more waiters on waitable-sets


view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 20:33):

alexcrichton requested dicej for a review on PR #14638.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 20:33):

alexcrichton opened PR #14638 from alexcrichton:wake-more-waiters to bytecodealliance:main:

When an event is delivered to a waitable set technically any thread in that set is candidate for receiving the event, but prior to this commit Wasmtime would only ever deliver the event to one arbitrary thread in the set. This caused issues when that thread cannot run due to the instance's lock being held, meaning that other candidate threads couldn't run to completion and actually get the event. This commit handles this situation by waking up other threads in in this situation. Only one thread will still get the event, and others go back to sleep if it's stolen.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 20:33):

alexcrichton requested wasmtime-core-reviewers for a review on PR #14638.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 22:20):

:thumbs_up: dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 22:24):

alexcrichton added PR #14638 Wake up more waiters on waitable-sets to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 10 2026 at 00:23):

:check: alexcrichton merged PR #14638.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 10 2026 at 00:23):

alexcrichton removed PR #14638 Wake up more waiters on waitable-sets from the merge queue.


Last updated: Oct 11 2026 at 04:10 UTC