comparison Python/thread_nt.h @ 59086:df5719c298db legacy-trunk

#4852: Remove dead code in every thread implementation, unused for many years.
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Tue, 23 Feb 2010 23:19:39 +0000
parents 8540268040ff
children fd25030223b0
comparison
equal deleted inserted replaced
59085:32b21061ee9f 59086:df5719c298db
201 #else 201 #else
202 _endthreadex(0); 202 _endthreadex(0);
203 #endif 203 #endif
204 } 204 }
205 205
206 #ifndef NO_EXIT_PROG
207 void
208 PyThread_exit_prog(int status)
209 {
210 dprintf(("PyThread_exit_prog(%d) called\n", status));
211 if (!initialized)
212 exit(status);
213 }
214 #endif /* NO_EXIT_PROG */
215
216 /* 206 /*
217 * Lock support. It has too be implemented as semaphores. 207 * Lock support. It has too be implemented as semaphores.
218 * I [Dag] tried to implement it with mutex but I could find a way to 208 * I [Dag] tried to implement it with mutex but I could find a way to
219 * tell whether a thread already own the lock or not. 209 * tell whether a thread already own the lock or not.
220 */ 210 */