dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Optimizing plugin-shutdowns using threads

Optimizing plugin-shutdowns using threads

From: Jonas Hellesøe Nielsen <>
Date: Wed, 14 Mar 2007 16:21:20 +0100

Hello Devs!
I've thougth about this stupid little idea for a couple of weeks, and decided to post it here.
When exiting many of the plugins, they save the highscore, game and so on, and that means that the user have to wait 1-5 seconds ca.
It is not much time, but it still would be nice to speed it up a little.
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 dont hope this idea is completely stupid, at it would make using plugins a little more "smoother","faster" or what to say.
Ring til venner med pc-til-pc-opkald - GRATIS
Received on 2007-03-14

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy