pipeline: exclude library loads by exact name #335
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!335
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-335"
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?
@loyodea on GitHub · 2026-12-03 17:08 UTC · original
loyodea:fix/307-pipeline-name-locks→main· +155 −10 · 2 files · 1 commits · merged 2026-12-03 18:26 UTCDifferent pipeline names could share one of 64 mutexes and wait behind another entry’s entire driver load. Track exact active names with a short bookkeeping lock and a condition variable; same-name loads remain serialized, and an RAII guard removes completed names even during unwinding.
Validation: five game-free Rust tests pass on the pinned Rust 1.98.1 for collision independence, same-name exclusion/wakeup, cleanup, unwinding, and poisoned bookkeeping. The reported two-name collision fails against the original function. Formatting of the helper and
git diff --checkpass.Full project build and Linux AMD/Wine runtime validation were not run in this Windows environment. No gameplay performance gain is claimed.
Closes #307.
@ArturoWolff on GitHub · 2026-12-03 17:24 UTC · original
The fix addresses the different-name collision I reported in #307. I ran the five tests from
1d234ccunchanged on Linux with Rust 1.98.1: all passed. Thanks for keeping same-name exclusion and for separating the concurrency claim from gameplay performance.One test-harness edge: in a private negative control I removed only
changed.notify_all()and ransame_name_waits_until_the_first_load_finishesalone. Its five-second receive timed out, but the test process was still waiting at an external eight-second deadline (exit 124). The scoped worker stays asleep andjoin()waits before the failed assertion runs. That is not a hang in the submitted implementation. For a bounded regression test, one option is anArc/unscoped worker that is joined on success but not on the receive-timeout path, or to run just this case in a deadline-limited child process.AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Astra High).