compat-common: allow XTaskQueueDispatch to dispatch queued items on serialized and pool ports #370
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!370
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/370/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:48 UTC · original
FilimonEnc:feat/xtq-dispatch-pool-port→main· +1 −2 · 2 files · 1 commits · closed without mergingIn GDK
XTaskQueueDispatch, an application thread can manually pump and dispatch queued callbacks from any port (including thread-pool and serialized ports), not solely manual ports.Previously,
q_dispatchrejected non-MANUAL ports by checkingp.mode == MANUAL, causingXTaskQueueDispatchto returnfalsewithout executing queued callbacks when called on a thread-pool or serialized port.This change allows
q_dispatchto callp.dispatch(timeout)regardless of port mode, enablingverify_dispatch_on_pool_portto pass.@omonkeyz on GitHub · 2026-11-25 13:51 UTC · original
Thanks. #307 (now applied) makes dispatch work on serialized and thread-pool ports by keeping pool items on the port itself, and still refuses immediate ports. Closing this one as superseded.
Pull request closed