comparison src/thread/SDL_thread_c.h @ 3696:47d923feedb0

Fixed bug #935 Patrice Mandin Hello, I originally added pth support for threads in SDL 1.2 because on the Atari platform we did not have any thread library. I think pth support could be removed from SDL 1.3 for two reasons: - Atari platform removed - pth does not provides real (preemptive) threads, because it is user space, and expect the application to call one of its function to give CPU to another thread. So it is not exactly useful for applications, that expect threads to run simultaneously.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 24 Jan 2010 20:47:20 +0000
parents 0d1b16ee0bca
children f7b03b6838cb
comparison
equal deleted inserted replaced
3695:f6a8be3fefa0 3696:47d923feedb0
29 #include "generic/SDL_systhread_c.h" 29 #include "generic/SDL_systhread_c.h"
30 #elif SDL_THREAD_BEOS 30 #elif SDL_THREAD_BEOS
31 #include "beos/SDL_systhread_c.h" 31 #include "beos/SDL_systhread_c.h"
32 #elif SDL_THREAD_EPOC 32 #elif SDL_THREAD_EPOC
33 #include "epoc/SDL_systhread_c.h" 33 #include "epoc/SDL_systhread_c.h"
34 #elif SDL_THREAD_PTH
35 #include "pth/SDL_systhread_c.h"
36 #elif SDL_THREAD_PTHREAD 34 #elif SDL_THREAD_PTHREAD
37 #include "pthread/SDL_systhread_c.h" 35 #include "pthread/SDL_systhread_c.h"
38 #elif SDL_THREAD_SPROC 36 #elif SDL_THREAD_SPROC
39 #include "irix/SDL_systhread_c.h" 37 #include "irix/SDL_systhread_c.h"
40 #elif SDL_THREAD_WIN32 38 #elif SDL_THREAD_WIN32