UISIMULATOR: Do a graceful shutdown of all threads and avoid (mostly lockup) problems caused by not worrying about states. Have rockbox objects initialized only by rockbox threads save for the main 'gui' thread which is a needed exception.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14660 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-09-10 03:49:12 +00:00
parent 2e305c6381
commit c4a7631eb9
5 changed files with 177 additions and 69 deletions

View file

@ -282,6 +282,7 @@ static void init(void)
/* Must be done before any code uses the multi-screen APi */
screen_access_init();
gui_syncstatusbar_init(&statusbars);
ata_init();
settings_reset();
settings_load(SETTINGS_ALL);
gui_sync_wps_init();