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 commit is contained in:
Guido van Rossum 2001-09-10 14:10:54 +00:00
parent 47f40343b3
commit d0b69eceb4
5 changed files with 376 additions and 276 deletions

600
configure vendored

File diff suppressed because it is too large Load diff