Staging
v0.5.1
https://github.com/python/cpython
Revision 64d8547dbc3dc1705cf216731e8ba5edd31d70b5 authored by Anthony Baxter on 23 December 2001, 04:07:25 UTC, committed by Anthony Baxter on 23 December 2001, 04:07:25 UTC
  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).
1 parent cdf6bfe
History
Tip revision: 64d8547dbc3dc1705cf216731e8ba5edd31d70b5 authored by Anthony Baxter on 23 December 2001, 04:07:25 UTC
backport of solaris thread patch, adding PTHREAD_SCOPE_SYSTEM support:
Tip revision: 64d8547
File Mode Size
.cvsignore -rw-r--r-- 31 bytes
Grammar -rw-r--r-- 4.4 KB

back to top