diff options
author | Sam Lantinga <slouken@libsdl.org> | 2010-01-24 20:47:20 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2010-01-24 20:47:20 +0000 |
commit | 102fd548470ff1ddc8a9317bb700b7d453e7fd0d (patch) | |
tree | 6aa8cb5bb724c1fd178c3bcd49d79c545be576b6 /include | |
parent | 96cb1303f965655aab9ad1238bccc0319b2eeb85 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/SDL_config.h.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in index 47b7a22cdc..5c47f11b2b 100644 --- a/include/SDL_config.h.in +++ b/include/SDL_config.h.in @@ -236,7 +236,6 @@ /* Enable various threading systems */ #undef SDL_THREAD_BEOS #undef SDL_THREAD_NDS -#undef SDL_THREAD_PTH #undef SDL_THREAD_PTHREAD #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP |