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 /apps/playlist.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 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index a75e32aed5..4ab98ab3c6 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1777,8 +1777,8 @@ void playlist_init(void) | |||
1777 | memset(playlist->filenames, 0, | 1777 | memset(playlist->filenames, 0, |
1778 | playlist->max_playlist_size * sizeof(int)); | 1778 | playlist->max_playlist_size * sizeof(int)); |
1779 | create_thread(playlist_thread, playlist_stack, sizeof(playlist_stack), | 1779 | create_thread(playlist_thread, playlist_stack, sizeof(playlist_stack), |
1780 | playlist_thread_name); | 1780 | playlist_thread_name IF_PRIO(, PRIORITY_BACKGROUND)); |
1781 | queue_init(&playlist_queue); | 1781 | queue_init(&playlist_queue, true); |
1782 | #endif | 1782 | #endif |
1783 | } | 1783 | } |
1784 | 1784 | ||