Staging
v0.8.1
v0.8.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
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:
backport of solaris thread patch, adding PTHREAD_SCOPE_SYSTEM support:
Tip revision: 64d8547
File | Mode | Size |
---|---|---|
example_nt | ||
os2vacpp | ||
WinMain.c | -rw-r--r-- | 482 bytes |
_winreg.c | -rw-r--r-- | 41.9 KB |
config.c | -rw-r--r-- | 2.8 KB |
config.h | -rw-r--r-- | 17.1 KB |
dl_nt.c | -rw-r--r-- | 906 bytes |
dllbase_nt.txt | -rw-r--r-- | 2.2 KB |
frozen_dllmain.c | -rw-r--r-- | 3.6 KB |
getpathp.c | -rw-r--r-- | 15.4 KB |
import_nt.c | -rw-r--r-- | 2.4 KB |
msvcrtmodule.c | -rwxr-xr-x | 4.8 KB |
py.ico | -rw-r--r-- | 766 bytes |
pyc.ico | -rw-r--r-- | 766 bytes |
pycon.ico | -rw-r--r-- | 766 bytes |
python.mk | -rw-r--r-- | 234 bytes |
python_exe.rc | -rw-r--r-- | 49 bytes |
python_nt.rc | -rw-r--r-- | 2.1 KB |
readme.txt | -rw-r--r-- | 4.1 KB |
testpy.py | -rw-r--r-- | 850 bytes |
w9xpopen.c | -rw-r--r-- | 1.7 KB |
winsound.c | -rw-r--r-- | 6.5 KB |
Computing file changes ...