Repository navigation
XGameRuntime: a call with no queue reports E_NO_TASK_QUEUE - #371
Open
davutsimsekk wants to merge 1 commit into
Open
davutsimsekk wants to merge 1 commit into
davutsimsekk wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
XAsyncBeginwith a null block queue and a cleared process queue returnedS_OK, then failed later in the provider/scheduler withE_INVALIDARG(or completed inline with no queue). The GDK documents this exact case: a null block queue uses the process queue, and if that is also null the call fails withE_NO_TASK_QUEUE(0x800701AB).This checks the process queue before
words()/CALLS.insert, so a failed begin leaks no call state. A null block queue with the default process queue still lazily creates it as before.Test
crates/victory-hle/tests/xasync_task_queue.rsruns in its own binary because the process queue is process-wide: it clears the process queue, begins a call with a null-queue block, assertsE_NO_TASK_QUEUE, and asserts the provider never ran. Onmainthe call returnsS_OK.cargo test -p victory-hle --test xasync_task_queue: 1 passedcargo test -p victory-hle --lib: 95 passed, 0 failedcargo clippy -p victory-hle --all-targets --locked -- -D warnings: clean