Search found 1 match
- Sat May 30, 2020 5:31 am
- Forum: Ideas and Suggestions
- Topic: Save in Background
- Replies: 30
- Views: 11986
Re: Save in Background
I've been playing with implementing copy-on-write to see how difficult this would be in practice. The general idea is to install a signal handler and allocate anonymous memory. When it's time to save, mark the memory read-only from the non-save thread, launch save threads, and continue the game as n...