Commit graph

8 commits

Author SHA1 Message Date
Dave Chapman
467651ae76 Make the sim create_thread() function slightly closer to the real thing. #include "thread.h" in thread-sdl.c to ensure function prototypes are consistent. This now allows mpegplayer to run in the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12901 a1c6a512-1295-4272-9138-f99709370657
2007-03-24 01:27:29 +00:00
Daniel Ankers
82f9056988 Dual core support for PP502x players (iPod G4 and later, iriver h10, Sansa - iPod G3 will be coming soon.) This allows threads to be run on either core provided that all communications between the cores is done using uncached memory. There should be no significant change in battery life from doing this. Documentation (on the RockboxKernel wiki page) will follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12601 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:06:41 +00:00
Daniel Ankers
8300d8c194 Oops - fix warnings and add a simulator version of remove_thread_on_core()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10876 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 21:00:19 +00:00
Daniel Ankers
9bb3128235 Fix simulation of threads across multiple cores
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10875 a1c6a512-1295-4272-9138-f99709370657
2006-09-03 20:21:21 +00:00
Miika Pekkarinen
8a7b9161ab Adjust the counter even higher so it should work quite stable now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10385 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 15:13:31 +00:00
Miika Pekkarinen
4222f6ce0d Prevent the simulator SDL audio skipping under Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10383 a1c6a512-1295-4272-9138-f99709370657
2006-07-31 15:02:39 +00:00
Dan Everton
d66c0e5d09 Correct mutex locking order in runthread. Doesn't seem to fix anything though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8664 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 12:47:20 +00:00
Linus Nielsen Feltzing
fc72c53758 Patch #1417462 by Dan Everton - Improved SDL simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 15:19:58 +00:00