2012-06-11 19:40:05 +00:00
|
|
|
/* First some generic implementations */
|
|
|
|
#if defined(HAVE_WIN32_FIBER_THREADS)
|
|
|
|
#include "thread-win32.c"
|
|
|
|
#elif defined(HAVE_SIGALTSTACK_THREADS)
|
|
|
|
#include "thread-unix.c"
|
|
|
|
|
|
|
|
/* Now the CPU-specific implementations */
|
|
|
|
#elif defined(CPU_ARM)
|
2012-01-04 17:07:21 +00:00
|
|
|
#include "arm/thread.c"
|
|
|
|
#elif defined(CPU_COLDFIRE)
|
|
|
|
#include "m68k/thread.c"
|
|
|
|
#elif CONFIG_CPU == SH7034
|
|
|
|
#include "sh/thread.c"
|
|
|
|
#elif defined(CPU_MIPS)
|
|
|
|
#include "mips/thread.c"
|
|
|
|
#else
|
2012-06-11 19:40:05 +00:00
|
|
|
/* Nothing? OK, give up */
|
2012-01-04 17:07:21 +00:00
|
|
|
#error Missing thread impl
|
|
|
|
#endif
|