XAsync: publish the final status before removing a completed call #23
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!23
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/23/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Jineggegg on GitHub · 2026-11-28 15:46 UTC · original
Jineggegg:xasync-publish-before-remove→main· +91 −22 · 1 files · 1 commits · closed without mergingWhat this fixes
An error or zero-size completion removed its call before provider cleanup ran. A blocking status query (
XAsyncGetStatuswith wait) could miss the call during cleanup and readE_PENDINGinstead of the work result.This change:
E_ABORT), notE_PENDING.Testing
cargo check -p victory-hle --lib: clean (only pre-existing warnings elsewhere).cargo test -p victory-hle --lib xasync: 13 passed, 0 failed, including the newstatus_waits_for_cleanup_to_publish_the_resulttest.Origin
Adapted from Jineggegg/VIctory
e071177(round-1 item #3). Foxhound had noclaimedflag — its first-completion guard was thedonelock — so this port brings theclaimedflag in, and completing, cancelling and scheduled work now agree on which calls are still live.@readmet3xt-lab on GitHub · 2026-11-29 08:10 UTC · original
Thanks for the fix and the regression test. Ported with credit (commit
6c67166) and released in v0.8.1: https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.1. It may also be behind issue #35 (a start that stalls before sign-in on a 24-thread CPU); I've asked that reporter to retest.github-bot referenced this pull request2026-11-30 16:07:53 +00:00
Pull request closed