Index: thread_pthread.h =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/thread_pthread.h,v retrieving revision 2.49 diff -c -r2.49 thread_pthread.h *** thread_pthread.h 17 Jan 2004 00:29:32 -0000 2.49 --- thread_pthread.h 22 Feb 2004 07:09:21 -0000 *************** *** 191,197 **** #ifdef THREAD_STACK_SIZE pthread_attr_setstacksize(&attrs, THREAD_STACK_SIZE); #endif ! #ifdef PTHREAD_SYSTEM_SCHED_SUPPORTED pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM); #endif --- 191,200 ---- #ifdef THREAD_STACK_SIZE pthread_attr_setstacksize(&attrs, THREAD_STACK_SIZE); #endif ! /* FreeBSD KSE doesn't allocate enough resource for system scope ! * threads by default. And they do enough round-robin scheduling for ! * process scope threads, too. */ ! #if defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) && !defined(__FreeBSD__) pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM); #endif