Mercurial > cpython-lru_cache-weakref
comparison Python/thread.c @ 56727:b54da5caab36
Disable support for Mach C Threads.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 24 Oct 2009 20:24:16 +0000 |
| parents | 14b55a4e8725 |
| children | 0c1238cabe92 |
comparison
equal
deleted
inserted
replaced
| 56726:14b55a4e8725 | 56727:b54da5caab36 |
|---|---|
| 120 #ifdef _POSIX_THREADS | 120 #ifdef _POSIX_THREADS |
| 121 #include "thread_pthread.h" | 121 #include "thread_pthread.h" |
| 122 #endif | 122 #endif |
| 123 | 123 |
| 124 #ifdef C_THREADS | 124 #ifdef C_THREADS |
| 125 #error Mach C Threads are now unsupported, and code will be removed in 3.3. | |
| 125 #include "thread_cthread.h" | 126 #include "thread_cthread.h" |
| 126 #endif | 127 #endif |
| 127 | 128 |
| 128 #ifdef NT_THREADS | 129 #ifdef NT_THREADS |
| 129 #include "thread_nt.h" | 130 #include "thread_nt.h" |
