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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.2 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.7 KB
acconfig.h -rw-r--r-- 6.3 KB
config.h.in -rw-r--r-- 17.1 KB
configure -rwxr-xr-x 181.1 KB
configure.in -rw-r--r-- 37.6 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.2 KB

README

back to top