Jens Arnold
441e512190
Simplification.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6456 a1c6a512-1295-4272-9138-f99709370657
2005-05-11 20:04:43 +00:00
Jens Arnold
74b731edc6
Major rework of the x11 simulator button handling. (1) Button repeat should 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-18 23:51:52 +00:00
Jens Arnold
6c19c8529c
X11 simulator improvements: Proper thread stopping and realtime ticks, based on patch #1048898 .
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6165 a1c6a512-1295-4272-9138-f99709370657
2005-03-07 20:04:05 +00:00
Daniel Stenberg
22b7701fe7
Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
...
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
2005-02-22 12:19:12 +00:00
Linus Nielsen Feltzing
a6142ab7ab
Finally, the archos directory sandbox works in the same way for both X11 and 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
2004-06-10 13:29:52 +00:00
Daniel Stenberg
973b1a8274
current_tick simulation added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1005 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 12:44:51 +00:00
Daniel Stenberg
5fbeb6de75
Fixed the threading to work as I wanted it:
...
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-14 12:33:51 +00:00
Daniel Stenberg
a902aa15c0
kill warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1001 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:06:58 +00:00
Daniel Stenberg
604cce76cf
add thread functionality, powered by pthreads
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@928 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 10:17:54 +00:00