feat(xgameruntime): implement the remaining XTaskQueue functions #23

Closed
opened 2026-11-26 19:14:14 +00:00 by github-bot · 0 comments
Owner

@⁠Dark3581 on GitHub · 2026-11-21 14:03 UTC · original

The task queue core is done in TaskQueue.cpp. These complete it. Stubs in Inventory.cpp:

  • XTaskQueueCreateComposite
  • XTaskQueueGetPort
  • XTaskQueueRegisterMonitor
  • XTaskQueueUnregisterMonitor
  • XTaskQueueRegisterWaiter
  • XTaskQueueUnregisterWaiter

Composite queues share their ports with the queue they are built from, and monitors are called when work is submitted, so these touch the existing queue code; keep the current e2e scenarios passing.

How to do it

  • Each stub's declaration in include/Exports.hpp has no parameters yet. Give it the exact signature from the public GDK headers; do not copy the headers into the repository.
  • Implement each function for every input. A path whose behaviour on a desktop host is unknown calls AbxUnsupported(__func__, "what is unknown"); never return a made-up success.
  • List known gaps in a debt fragment under docs/dev/debt/changes/, and add an e2e scenario (core/libs/tests/FakeTitle.cpp, e2e.py).
  • Rules: CONTRIBUTING.md. One PR may take the whole issue or part of it; say which in the PR.
**@⁠Dark3581** on GitHub · 2026-11-21 14:03 UTC · [original](https://github.com/Dark3581/AnyBox/issues/23) The task queue core is done in [TaskQueue.cpp](https://github.com/Dark3581/AnyBox/blob/main/core/libs/xdll/xgameruntime/TaskQueue.cpp). These complete it. Stubs in [Inventory.cpp](https://github.com/Dark3581/AnyBox/blob/main/core/libs/xdll/xgameruntime/Inventory.cpp): - `XTaskQueueCreateComposite` - `XTaskQueueGetPort` - `XTaskQueueRegisterMonitor` - `XTaskQueueUnregisterMonitor` - `XTaskQueueRegisterWaiter` - `XTaskQueueUnregisterWaiter` Composite queues share their ports with the queue they are built from, and monitors are called when work is submitted, so these touch the existing queue code; keep the current e2e scenarios passing. **How to do it** - Each stub's declaration in `include/Exports.hpp` has no parameters yet. Give it the exact signature from the public GDK headers; do not copy the headers into the repository. - Implement each function for every input. A path whose behaviour on a desktop host is unknown calls `AbxUnsupported(__func__, "what is unknown")`; never return a made-up success. - List known gaps in a debt fragment under `docs/dev/debt/changes/`, and add an e2e scenario (`core/libs/tests/FakeTitle.cpp`, `e2e.py`). - Rules: [CONTRIBUTING.md](https://github.com/Dark3581/AnyBox/blob/main/CONTRIBUTING.md). One PR may take the whole issue or part of it; say which in the PR.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:14:14 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Dark3581--AnyBox#23
No description provided.