feat(xgameruntime): map threading slots 16 and 18 from a second GDK module #73
No reviewers
Labels
No labels
accessibility
bug
ci
docs
documentation
duplicate
enhancement
fixes issue
good first issue
help wanted
invalid
library request
libs
needs rebase
question
relinker
stale
tools
unblocks title
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Dark3581--AnyBox!73
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/73/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?
@Dark3581 on GitHub · 2026-11-23 05:33 UTC · original
Dark3581:feat/threading-dispatch-submit→main· +21 −6 · 4 files · 1 commits · merged 2026-11-23 05:36 UTCWhat
Two more slots of the GDK threading table (#71), measured in a second bundled GDK module (the package's curl build). Its own code calls these threading slots: 3, 5, 12, 16, 17, 18, 22 and 29. Two of them were not mapped yet:
al; a caller loopswhile (slot16(q, 1, 0) || ...)XTaskQueueDispatch(returnsbool)eaxwithjsXTaskQueueSubmitCallback(returns HRESULT)Both shapes are also what the slot order predicted (#71 left them unmapped for lack of a call site). They forward to the existing
XTaskQueueDispatchandXTaskQueueSubmitCallback. The debt entry is updated.e2e_api_unmappednow uses slot 20, which is still unmapped.Tested
Windows 10, MinGW (GCC) and MSVC 2022.
e2e_api_threadingnow also creates a manual queue through slot 12 and submits a callback through slot 18. The callback hasn't run yet; dispatching through slot 16 runs it and returns true, and a second dispatch on the empty port returns false. Then it terminates and closes the queue through slots 22 and 17.curl_global_initnow gets past the handshake and the threading calls. It stops inQueryApiImplnaming its next interface,{bf2346b2-39af-4658-b5ea-44713c7e83b3}of provider{37e56907-2f10-41e8-b72f-36edb185331a}. Its call sites point to the connectivity-hint functions; that interface isn't mapped because the hint's enum values aren't in any public source I could reach.ctest: 77 of 77. MSVCctest: 77 of 77. Every MSVC target builds exceptab_gameinput, which needsgameinput.lib, which this machine doesn't have.python tools/check_conventions.pyanddebt_fold.py --check: ok.Checklist
main; no other open PR implements the same functionspython tools/check_conventions.pypasses (no comments in code, one declaration per export, Conventional Commit subjects)AbxNotImplemented/AbxUnsupported); silent stubs are listed under Silent stubs through a debt fragmentdocs/dev/debt/changes/<branch>.md