Skip to content

resume cancellably-yielding fiber from subtask.cancel#13443

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
dicej:fix-13269
May 23, 2026
Merged

resume cancellably-yielding fiber from subtask.cancel#13443
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
dicej:fix-13269

Conversation

@dicej

@dicej dicej commented May 21, 2026

Copy link
Copy Markdown
Contributor

Previously, we only resumed a fiber that was cancellably-blocked on waitable-set.wait in subtask.cancel, but we should have also been checking for any fiber that's cancellably called thread.yield.

Fixes #13269

Previously, we only resumed a fiber that was cancellably-blocked on
`waitable-set.wait` in `subtask.cancel`, but we should have also been checking
for any fiber that's cancellably called `thread.yield`.

Fixes bytecodealliance#13269
@dicej
dicej requested a review from alexcrichton May 21, 2026 20:47
@dicej
dicej requested a review from a team as a code owner May 21, 2026 20:47
@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label May 21, 2026
@alexcrichton
alexcrichton added this pull request to the merge queue May 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 23, 2026
@alexcrichton
alexcrichton added this pull request to the merge queue May 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 23, 2026
@alexcrichton
alexcrichton added this pull request to the merge queue May 23, 2026
Merged via the queue into bytecodealliance:main with commit 90f0c93 May 23, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

async: cancellable thread.yield not directly resumed by subtask.cancel

2 participants