Mercurial > cpython-lru_cache-weakref
diff Python/graminit.c @ 19826:8ef456949b76 legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 10 Sep 2001 14:10:54 +0000 |
| parents | f20727cc3d0f |
| children | 56141b86a7f2 |
