comparison Python/thread.c @ 20468:ebfd87e87884 legacy-trunk

Partial patch from SF #452266, by Jason Petrone. This changes Pythread_start_thread() to return the thread ID, or -1 for an error. (It's technically an incompatible API change, but I doubt anyone calls it.)
author Guido van Rossum <guido@python.org>
date Tue, 16 Oct 2001 21:13:49 +0000
parents 876aecef6483
children c64fc56f6072
comparison
equal deleted inserted replaced
20467:5b5c15a095cc 20468:ebfd87e87884
109 #include "thread_lwp.h" 109 #include "thread_lwp.h"
110 #endif 110 #endif
111 111
112 #ifdef HAVE_PTH 112 #ifdef HAVE_PTH
113 #include "thread_pth.h" 113 #include "thread_pth.h"
114 #undef _POSIX_THREADS
115 #endif 114 #endif
116 115
117 #ifdef _POSIX_THREADS 116 #ifdef _POSIX_THREADS
118 #include "thread_pthread.h" 117 #include "thread_pthread.h"
119 #endif 118 #endif