Repository navigation
xgameruntime_gamesave: the enumeration and info callbacks run outside the save lock, so a callback may wait on an async save call - #8222
Conversation
|
Independent build + test: PASS AI-assisted (Claude Code). Windows 11 x64, MSVC 19.44.35220, Ninja RelWithDebInfo. GPU (not used): NVIDIA GeForce RTX 3080 driver 621.24 / 32.0.16.2124. Head
Code check: all four paths ( Note: #8229 changes the same file (cancel → E_ABORT). Whichever merges second should be rebuilt. |
|
Tested fb9b21f merged onto main 6312c05 (clean merge) on NVIDIA GeForce RTX 4070, driver 621.24, native Windows 11 Pro 26300, MSVC 14.44.35207, Ninja RelWithDebInfo: pass.
No game data used. AI-assisted (Claude Code). |
|
Tested For this change. Setup. Built with MSVC 14.52 (Visual Studio 18), Windows SDK 10.0.26100, Vulkan SDK 1.4.363.1, Ninja RelWithDebInfo on Windows Server 2025 (no Vulkan driver there), then the same binaries run through
Under Wine the tree is test by test the same as Because the five were built together, there is no per-PR negative control in this run: a regression would have shown as a difference from |
|
Tested fb9b21f on Windows 11 Pro 10.0.26300, MSVC 14.51 (VS Build Tools 2026), Windows SDK 10.0.26100, NVIDIA GeForce RTX 4060 / 621.24, Khronos Vulkan headers via Merged onto main 6312c05 (clean), full runtime build,
AI-assisted (Claude Code). No game files. |
What
Snapshot save container and blob records under the mutex, then invoke callbacks after releasing it.
Why
A callback waiting for asynchronous save work otherwise deadlocks on the global save mutex. Enumeration results and order are preserved.
Tested
AI-assisted.
@ItsNotRexed: an exe PR, as you asked.
Claim: #8047 (comment)