rockbox/firmware
Thomas Martitz c4c7069a8a Fix FS#11280
SDL docs say SDL_PumpEvent (implicitely called by SDL_Poll/WaitEvent)
may only be called from the thread that initializes the video subsystem,
apparently because Windows requires that.
So create an (or bring it back) SDL thread (with preemtive behavior) to read the
event queue for buttons and initialize the video subsystem.
I'd probably would have done that anyway because it enables an interrupt-like method to read them (no polling).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26113 a1c6a512-1295-4272-9138-f99709370657
2010-05-17 17:19:31 +00:00
..
common Revert r26048. APE tags in mp3 is explicitely on http://www.rockbox.org/wiki/NoDo 2010-05-15 21:57:17 +00:00
decompressor
drivers Do s/SWAP_WORDS/ATA_SWAP_WORDS/ to prevent namespace clashes. 2010-05-17 15:15:38 +00:00
export Do s/SWAP_WORDS/ATA_SWAP_WORDS/ to prevent namespace clashes. 2010-05-17 15:15:38 +00:00
include Make the sim buildable with mingw again 2010-05-14 22:57:52 +00:00
libc - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
target Fix FS#11280 2010-05-17 17:19:31 +00:00
test Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
usbstack Enforce the 80-char limit to make everyone happy. 2010-04-13 10:07:02 +00:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c
bidi.c
buffer.c
COPYING
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make Include host system's header files and don't compile our c library replacements in the sim. 2010-05-14 12:37:05 +00:00
font.c Make open() posix compliant api-wise. A few calls (those with O_CREAT) need the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. 2010-05-06 17:35:13 +00:00
font_cache.c
general.c Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them. 2010-05-17 12:34:05 +00:00
hangul.c
hotswap.c
ifp_usb_serial.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
kernel.c Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them. 2010-05-17 12:34:05 +00:00
logf.c vuprintf does not belong in stdio.h, causes problems with other versions of stdio.h 2010-05-15 03:47:06 +00:00
lru.c
mp3_playback.c Remove lots of simulator-speficic #ifdef'ing in sound.c to allow for DSP effects in the sims, e.g. for bass and treble (targets that do those effects in HW don't simulate using dsp). 2010-04-25 22:54:58 +00:00
panic.c PANIC!!! 2010-03-03 02:36:51 +00:00
pcm.c Trim down peak calculation a bit. 2010-05-13 04:12:23 +00:00
pcm_sampr.c
powermgmt.c Revert r26055 since it breaks certain Archos targets. 2010-05-15 21:27:22 +00:00
profile.c Remove last traces of sprintf.h 2010-05-07 02:13:47 +00:00
README
rolo.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
rom.lds
screendump.c Make creat() posix compliant API-wise. Shouldn't affect the core as it's wrapped via a static inline. 2010-05-06 17:35:04 +00:00
scroll_engine.c
sound.c - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
SOURCES HD200 - use optimised read&write routines from ata-as-coldfire.S and drop hd200 specyfic ata-as-hd200.S 2010-05-17 13:08:50 +00:00
storage.c use THREAD_ID_CURRENT instead of thread_get_current() 2010-04-03 22:43:36 +00:00
system.c
thread.c i.MX31: Issue some NOP's immediately after MCR WFI to prevent premature execution of subsequent code. 2010-05-15 15:51:47 +00:00
timer.c
tuner.c
usb.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00

See docs/README