Mercurial > cpython-lru_cache-weakref
diff Python/thread_nt.h @ 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 | b0f5278a2ab4 |
| children | ebfd87e87884 |
