Gitiles
Code Review
Sign In
gerrit.rockbox.org
/
rockbox
/
3a45faa6a8b12cd7a798f488c2fc9bc60327f5cd
/
uisimulator
/
sdl
/
thread-sdl.c
3a45faa
More Simulator tweaking. Back to the counter but with 0 delay. Forget the semaphore; it makes for too much kernel thread yielding.
by Michael Sevakis
· 17 years ago
0107dfc
UISIMULATOR: Give the host OS some needed context switching hints (which _is_ supposed to work on Linux - but I can't tell on VMWare - and does on Windows). I guess I'll know for sure soon. Give sleep() even more genuine behavior. Add some button driver sync with the rockbox threads that should have been there for some time - this is basically interrupt-like processing as any thread not in the kernel pool should be considered. Make the screendump work again by posting the request. Perhaps help out shutting down for some users but not in the way I'd prefer - to think about.
by Michael Sevakis
· 17 years ago
424750e
Make sleep(0) in the sim behave more like on target.
by Jens Arnold
· 17 years ago
f64ebb1
Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO.
by Michael Sevakis
· 17 years ago
e9baf60
Fix sim errors. Every extra byte feels guilt-free. ;)
by Michael Sevakis
· 18 years ago
11fa3a8
Implement remove_thread for SDL simulator
by Steve Bavin
· 18 years ago
467651a
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.
by Dave Chapman
· 18 years ago
82f9056
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.
by Daniel Ankers
· 18 years ago
8300d8c
Oops - fix warnings and add a simulator version of remove_thread_on_core()
by Daniel Ankers
· 18 years ago
9bb3128
Fix simulation of threads across multiple cores
by Daniel Ankers
· 18 years ago
8a7b916
Adjust the counter even higher so it should work quite stable now.
by Miika Pekkarinen
· 19 years ago
4222f6c
Prevent the simulator SDL audio skipping under Linux.
by Miika Pekkarinen
· 19 years ago
d66c0e5
Correct mutex locking order in runthread. Doesn't seem to fix anything though.
by Dan Everton
· 19 years ago
fc72c53
Patch #1417462 by Dan Everton - Improved SDL simulator
by Linus Nielsen Feltzing
· 19 years ago