diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-16 16:18:11 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-09-16 16:18:11 +0000 |
commit | a85044bf9eaa0a7206c1978d3cfd57ab2d7fae2f (patch) | |
tree | a30695ed540bf32365d577f46398f712c7a494c4 /firmware/powermgmt.c | |
parent | baf5494341cdd6cdb9590e21d429920b9bc4a2c6 (diff) | |
download | rockbox-a85044bf9eaa0a7206c1978d3cfd57ab2d7fae2f.tar.gz rockbox-a85044bf9eaa0a7206c1978d3cfd57ab2d7fae2f.zip |
New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked
lists to eliminate unnecessary task switching to improve performance.
Audio should no longer skip on swcodec targets caused by too CPU
hungry UI thread or background threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 8f832964b5..f1e1aac57f 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -998,7 +998,7 @@ void powermgmt_init(void) | |||
998 | memset(power_history, 0x00, sizeof(power_history)); | 998 | memset(power_history, 0x00, sizeof(power_history)); |
999 | 999 | ||
1000 | create_thread(power_thread, power_stack, sizeof(power_stack), | 1000 | create_thread(power_thread, power_stack, sizeof(power_stack), |
1001 | power_thread_name); | 1001 | power_thread_name IF_PRIO(, PRIORITY_SYSTEM)); |
1002 | } | 1002 | } |
1003 | 1003 | ||
1004 | #endif /* SIMULATOR */ | 1004 | #endif /* SIMULATOR */ |