1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/asm
Michael Sevakis a9713d89e7 thread-unix patchup!
The changed thread code may not wish to save the old context under
certain circumstances but thread-unix.c assumed it would, cached it
and used it unconditionally.

Also, prevent it from leaking away all the jump buffers (old problem).
Creating and removing threads would eventually run it out of buffers
and then it would crash after that. Plugins, like Pictureflow, which
have worker threads could only be started a few times. Implement a
simple O(1) allocator that will reuse them and stays self-contained
to its own types (as it appears the original author intended).

Change-Id: Icf65413c086b346fb79bf827102b725269e2812c
2014-08-18 10:40:44 -04:00
..
arm Do some kernel cleanup 2014-08-08 01:59:59 -04:00
m68k Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
mips Move optimized ffs to firmware/asm, using the new automatic-asm-picking infrastructure. 2012-01-22 18:46:45 +01:00
sh Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
asm.make Apparently make doesn't like inline comments 2012-03-28 23:14:39 +02:00
beep.c beep/mixer code: Code police a bit. 2012-02-19 00:38:58 -05:00
corelock.c kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
ffs.c Generic find_first_set_bit can use __builtin_ctz instead of __builtin_ffs 2012-02-04 18:08:17 -05:00
lcd-as-memframe-24bit.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
lcd-as-memframe.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
memcpy.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
memmove.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
memset.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
memset16.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
pcm-mixer.c Coldfire: Optimize emac context save/restore in mixer ISR. 2012-03-12 00:16:12 +01:00
SOURCES zen/zenxfi: switch lcd driver to 24-bit mode 2014-06-24 18:07:55 +02:00
strlen.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
thread-unix.c thread-unix patchup! 2014-08-18 10:40:44 -04:00
thread-win32.c Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00
thread.c Rearrange #ifdefs a bit, so SIGALTSTACK overrides CPU-specific threading. 2012-06-11 22:27:41 +02:00
thread.h Hosted builds using thread.c have errno as thread context. 2014-08-05 22:05:20 -04:00