1 FreeBSD porting fixes, patch by maho@openoffice.org
3 --- Python-3.3.0/Python/thread_pthread.h 2012-11-28 09:00:41.097955124 +0000
4 +++ Python-3.3.0/Python/thread_pthread.h 2012-11-28 09:01:13.018329351 +0000
12 #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
16 callback->func = func;
21 + SET_THREAD_SIGMASK(SIG_BLOCK, &set, &oset);
23 status = pthread_create(&th,
24 #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
28 pythread_wrapper, callback);
31 + SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL);
33 #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED)
34 pthread_attr_destroy(&attrs);