feat(windows): name presenter and queue worker threads #5862
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5862"
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?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-14T14:02:36Z.
What
Name the Windows host thread when the presenter or an AGC queue worker enters
PinWorkerThread, using the existing role label. ResolveSetThreadDescriptiondynamically so Windows versions without that API keep running; report other naming failures. This is the thread-name topic from #3815.Add a Windows-only test that sets the description and reads it back when the OS provides the API.
Tested
core/libs/tests/ThreadName.cppwith-std=c++20 -Wall -Wextra -Werror.python3 tools/check_conventions.py --base upstream/mainpassed.git diff --checkpassed.Checklist
main; no other open PR implements host thread namingImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T14:14:40Z.
Checked the diff (Windows-only path in
PinWorkerThread, dynamicSetThreadDescriptionresolve, 63-char bound with E_INVALIDARG, read-back test registered underif(WIN32)) and the Linux build/ctest (unaffected). Merging once the full Windows build is green.