diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-07-16 17:04:29 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2012-07-16 17:04:29 +0000 |
commit | 473f7fc2dc1cba782abaf6af536acb7a7799336e (patch) | |
tree | 7b159a58f19888eb0484be875996578820a05261 /lang/python25/files/patch-Python_thread__pthread.h | |
parent | - Update to 0.24 (diff) |
- remove expired ports
* lang/python24 and lang/python25: unmaintained upstream
* www/zope and www/zope211: unmaintained upstream (the only
consumers of python24)
- clean-up python versions < 2.6 from lang/python-doc-html
- clean-up python24/25 from Mk/bsd.ports.mk
- add www/zope213 glue to bsd.python.mk
- clean-up zope versions != 2.13 from bsd.python.mk
Submitted by: miwi (based on)
Approved by: portmgr (miwi)
Notes
Notes:
svn path=/head/; revision=300956
Diffstat (limited to 'lang/python25/files/patch-Python_thread__pthread.h')
-rw-r--r-- | lang/python25/files/patch-Python_thread__pthread.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lang/python25/files/patch-Python_thread__pthread.h b/lang/python25/files/patch-Python_thread__pthread.h deleted file mode 100644 index 1f4478528024..000000000000 --- a/lang/python25/files/patch-Python_thread__pthread.h +++ /dev/null @@ -1,30 +0,0 @@ - -$FreeBSD$ - ---- Python/thread_pthread.h -+++ Python/thread_pthread.h -@@ -149,6 +149,7 @@ - { - pthread_t th; - int status; -+ sigset_t set, oset; - #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) - pthread_attr_t attrs; - #endif -@@ -177,6 +178,8 @@ - #if defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) - pthread_attr_setscope(&attrs, PTHREAD_SCOPE_SYSTEM); - #endif -+ sigfillset(&set); -+ SET_THREAD_SIGMASK(SIG_BLOCK, &set, &oset); - - status = pthread_create(&th, - #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) -@@ -188,6 +191,7 @@ - (void *)arg - ); - -+ SET_THREAD_SIGMASK(SIG_SETMASK, &oset, NULL); - #if defined(THREAD_STACK_SIZE) || defined(PTHREAD_SYSTEM_SCHED_SUPPORTED) - pthread_attr_destroy(&attrs); - #endif |