rockbox/uisimulator/x11
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
..
archos I got tired of shifting this file around, and it belongs with the archos 2002-05-18 05:38:33 +00:00
button-x11.c warning hunt and kill session 2002-06-14 11:00:13 +00:00
config.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
dir.h adjusted to build on my solaris box 2002-05-07 12:25:30 +00:00
file.h warning hunt and kill session 2002-06-14 11:00:13 +00:00
io.c warning hunt and kill session 2002-06-14 11:00:13 +00:00
kernel.h make yield() simply do a short sleep when simulated 2002-05-27 06:54:07 +00:00
lcd-x11.c warning hunt and kill session 2002-06-14 11:00:13 +00:00
lcd-x11.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
Makefile go bananas, now we complain on *lots* of details 2002-06-14 10:41:08 +00:00
mpeg.c works with playlist code, now stubs mpeg_play() to be able to show some 2002-06-04 21:45:51 +00:00
oss_sound.c added playback simulator if /dev/dsp is unavailable 2002-05-15 07:27:48 +00:00
README moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
resources.c moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
resources.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
screenhack.c warning hunt and kill session 2002-06-14 11:00:13 +00:00
screenhack.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
sleep.c warning hunt and kill session 2002-06-14 11:00:13 +00:00
thread.c Fixed the threading to work as I wanted it: 2002-06-14 12:33:51 +00:00
uibasic.c warning hunt and kill session 2002-06-14 11:00:13 +00:00
utils.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
version.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
visual.c moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
visual.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00
vroot.h warning hunt and kill session 2002-06-14 11:00:13 +00:00
xmu.h moved X11-specific files into a separate subdir to keep root clean for 2002-04-27 23:48:49 +00:00

Solaris

 $ make
 $ ./rockboxui

Linux

 $ make LIBDIRS=-L/usr/X11R6/lib
 $ ./rockboxui