compat-common: return distinct handle on XTaskQueueDuplicateHandle to match GDK reference #367
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!367
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/367/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?
@FilimonEnc on GitHub · 2026-11-24 16:42 UTC · original
FilimonEnc:feat/xtq-duplicate-handle-conformance→main· +16 −3 · 2 files · 1 commits · closed without mergingIn
compat-common::gdk::rt,q_duplicatereturned the identical queue handle integer and incremented refcount, whereas the GDK/xgameruntime reference implementation returns distinct handle instances pointing to the same underlying task queue.Allocate a new duplicate queue handle referencing the same ports and termination state in
dup_queue. This enablesverify_duplicate_queue_handleto pass without deviation, resolving one of the conformance gaps noted in #211.@omonkeyz on GitHub · 2026-11-25 13:51 UTC · original
Thanks. This is covered by #307, which is now applied: it hands out a distinct handle for the same queue, so termination and monitors through the duplicate act on the original queue. Closing this one as superseded.
Pull request closed