mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
The saver thread took the snapshot lock with a blocking exclusive lock. Behind a pipeline creation that runs for minutes (an NVIDIA compile of a 1.5M-word compute pipeline), the queued writer made the shared_mutex hold every later pipeline creation on every queue until the compile ended. The periodic save now tries the lock and waits for the next interval when it is busy; SaveNow and the teardown save still wait. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>