]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport of solaris thread patch, adding PTHREAD_SCOPE_SYSTEM support:
authorAnthony Baxter <anthonybaxter@gmail.com>
Sun, 23 Dec 2001 04:07:25 +0000 (04:07 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Sun, 23 Dec 2001 04:07:25 +0000 (04:07 +0000)
commit64d8547dbc3dc1705cf216731e8ba5edd31d70b5
tree6fd926264bf871b4e11467eac153c0955551f7c4
parentcdf6bfe3ec94d37a11ba68265c441339149aa874
backport of solaris thread patch, adding PTHREAD_SCOPE_SYSTEM support:

  Improve threading on Solaris, according to SF patch #460269, submitted
  by bbrox@bbrox.org / lionel.ulmer@free.fr.

  This adds a configure check and if all goes well turns on the
  PTHREAD_SCOPE_SYSTEM thread attribute for new threads.

  This should remove the need to add tiny sleeps at the start of threads
  to allow other threads to be scheduled.

This is a semi-feature, but makes such a huge difference to the
performance of Zope on Solaris that it's worthwhile (well, imho).
Python/thread_pthread.h
acconfig.h
config.h.in
configure
configure.in