Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



Rockbox mail archive

Subject: Re: Optimizing plugin-shutdowns using threads

Re: Optimizing plugin-shutdowns using threads

From: Timo Horstschäfer <mail_at_timo-horstschaefer.de>
Date: Wed, 14 Mar 2007 17:42:38 +0100

Jonas Hellesøe Nielsen wrote:
> What about making a thread f.ex. named "Rockboy save thread", which still
> runs 1-5 seconds _after_ the game is finished, and when finished with
> saving exits itself (If the thread API allows a thread to close itself)?
I think some kind of a disk write-queue would achieve the same.
Or maybe just a global write buffer, that flushes on every disk spin up.

-- 
  Timo Horstschäfer
Received on 2007-03-14

Page was last modified "Mar 9 2008" The Rockbox Crew