]> granicus.if.org Git - python/commit
Improve threading on Solaris, according to SF patch #460269, submitted
authorGuido van Rossum <guido@python.org>
Mon, 10 Sep 2001 14:10:54 +0000 (14:10 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Sep 2001 14:10:54 +0000 (14:10 +0000)
commitd0b69eceb446ac7176f96c3849c6997ec4ce134f
tree4359c27de8896645e053c1d673a5829a0f05f7cc
parent47f40343b304cbd92dec796cdb2b647743a95c01
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.
Python/thread_pthread.h
acconfig.h
configure
configure.in
pyconfig.h.in