mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:30:52 +01:00
[PR #1145] xgameruntime: forward XAsyncBeginAlloc and XTaskQueueIsEmpty to xtaskqueue (OLD-9917) #1178
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1178
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1145
Author: @ambroseautomation
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-9917-xasync-begin-alloc📝 Commits (1)
877b6d2Upstream PR #8588: xgameruntime: XAsyncBeginAlloc and XTaskQueueIsEmpty are forwarded to the real task queue📊 Changes
3 files changed (+34 additions, -27 deletions)
View changed files
📝
docs/runtime_imports.md(+1 -1)📝
runtime/shims/xgameruntime.cpp(+4 -21)📝
runtime/test/xgameruntime_test.cpp(+29 -5)📄 Description
Claimed in the coordination issue as: OLD-9917 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141692121)
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)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.