summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/thread.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-12Remove Win32 and X11 simulator sources. They've been deprecated for a while ↵Dan Everton1-148/+0
in favour of the SDL sim. Time to go. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10543 a1c6a512-1295-4272-9138-f99709370657
2005-11-21Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold1-4/+2
Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-07-14First take at PCM playback in the X11 sim on Linux.Daniel Stenberg1-0/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7147 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Removed picky warningsLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7116 a1c6a512-1295-4272-9138-f99709370657
2005-05-11Simplification.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6456 a1c6a512-1295-4272-9138-f99709370657
2005-03-18Major rework of the x11 simulator button handling. (1) Button repeat should ↵Jens Arnold1-27/+26
always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-03-07X11 simulator improvements: Proper thread stopping and realtime ticks, based ↵Jens Arnold1-33/+56
on patch #1048898. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6165 a1c6a512-1295-4272-9138-f99709370657
2005-02-22Build cleanup and general fixes. fprintf() is now fdprintf(), the separationDaniel Stenberg1-0/+15
between uisimulator files and firmware/apps files are better done. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2004-06-10Finally, the archos directory sandbox works in the same way for both X11 and ↵Linus Nielsen Feltzing1-1/+1
win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2002-06-14current_tick simulation addedDaniel Stenberg1-5/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1005 a1c6a512-1295-4272-9138-f99709370657
2002-06-14Fixed the threading to work as I wanted it:Daniel Stenberg1-7/+30
We only execute one thread at a time, and we do this by using a mytex that the executing thread locks. sleep() returns the mutex, sleep and then gets it again, yeild() makes the same as sleep but immediately. This makes threading in the simulator behave closer to how it works on target and it makes it necessary to use yield() or sleep() for other threads to get to execute. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1002 a1c6a512-1295-4272-9138-f99709370657
2002-06-14kill warningDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1001 a1c6a512-1295-4272-9138-f99709370657
2002-06-10add thread functionality, powered by pthreadsDaniel Stenberg1-0/+69
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@928 a1c6a512-1295-4272-9138-f99709370657