-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use tmpdir/replace to help prevent missing track race condition in li…
…ve update The previous version had a rare race condition where snes9x trying to load an MSU track between it being deleted and it being replaced would result in no music playing until the next transition. This change uses temporary copy/link and os.replace (POSIX guaranteed to be atomic) to hopefully eliminate this race condition.
- Loading branch information
Showing
1 changed file
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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