Commit Graph

3 Commits

Author SHA1 Message Date
Chris Young
0cd682644b Revert "Revert "Write out to the backing store asynchronously.""
This reverts commit 75623179aa.
2014-11-22 16:41:29 +00:00
Chris Young
75623179aa Revert "Write out to the backing store asynchronously."
This reverts commit 1ddf8215cf.

Appears to be unsafe to run this in a new process.
2014-11-19 23:34:53 +00:00
Chris Young
1ddf8215cf Write out to the backing store asynchronously.
Despite the fact AmigaOS filesystems run as separate processes,
DOS filesystem writes occur synchronously waiting for the disk
write to finish before returning.  Here we have effectively taken
the core's fs backing store and extended it slightly so the store
operation is spun off into a new process, running at a lower task
priority than NetSurf itself.  This stops the UI pauses that occur
shortly after loading pages as NetSurf commits the cache to disk.

Somewhat experimental, pending more extensive user testing.
2014-11-18 19:31:11 +00:00