summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/thread-win32.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18Implement cooperative threads on hosted platforms using C code.Thomas Martitz1-0/+85
This replaces SDL threads with real cooperative threads, which are less cpu intensive and allow priority scheduling. The backend for context switching is dependant on the host (sigaltstack/longjmp on Unix, Fibers on Windows). configure has options to force or disallow SDL threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29327 a1c6a512-1295-4272-9138-f99709370657