Repository navigation
xgameruntime: forward XAsyncBeginAlloc and XTaskQueueIsEmpty to xtaskqueue (OLD-9917) - #1145
ambroseautomation wants to merge 1 commit into
Conversation
…ty are forwarded to the real task queue Squashed from ItsNotRexed/Leonida#8588 by tedin7, head e09f0a9bd (security scan PASS). Applied as the PR's own diff (gh pr diff); head matches the watcher's scan. xgameruntime_test keeps Wave 1's per-thread time-sensitive flag checks (#7957); the old slot-8 comment that preceded this PR's new slot-8 test is dropped.
abnalstlll-byte
left a comment
There was a problem hiding this comment.
Reviewed and verified. Replaces non-functional stubs for slot 8 (XAsyncBeginAlloc) and slot 28 (XTaskQueueIsEmpty) in runtime/shims/xgameruntime.cpp with direct forwarding to vendored xtaskqueue implementations. Tested end-to-end with xgameruntime_test.exe (163/163 checks PASS). 100% clean-room.
|
Tested
AI-assisted: yes |
|
Recommendation: [MERGE] Reasoning: Carries #185: Impact level: 4/10 |
Claimed in the coordination issue as: OLD-9917 (#14 (comment))
What and why
Carries forward
old-pr/9917(draft #185, originally authored bytedin7, commit author preserved; indexed in #17), rebased cleanly onto currentmain.Replaces the two private stubs in
XThreadingImpl(runtime/shims/xgameruntime.cpp) with direct forwarding to the vendoredxtaskqueueimplementations:XAsyncBeginAlloc): forwards toXAsyncBeginAllocfromXAsyncProviderPriv.h, allocating and copying the provider context/parameter block and invokingXAsyncOp::Begin.XTaskQueueIsEmpty): forwards toXTaskQueueIsEmptyfromXTaskQueuePriv.h, taking(queue, port)instead of returning a stub0.docs/runtime_imports.mdto recordXTaskQueueIsEmpty's(queue, port)signature and extendsruntime/test/xgameruntime_test.cppto verify both slots end-to-end.Tested
xgameruntime_test.exenatively on Windows 11 with MSVC (/std:c++20 /EHsc /W4 /permissive- /utf-8 /O2):xgameruntime_test: OK (163 checks).python -I tests/test_docs_links.py: 16 tests, OK.python -I scripts/check_no_game_data.py docs/runtime_imports.md runtime/shims/xgameruntime.cpp runtime/test/xgameruntime_test.cpp: exit 0 (no game data).GPUs tested: n/a (CPU/OS runtime shim; built and tested on Windows 11 Pro 64-bit, MSVC VS 18)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a —xgameruntimeshim)