diff options
author | Guido van Rossum <guido@python.org> | 2001-09-10 14:10:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-10 14:10:54 (GMT) |
commit | d0b69eceb446ac7176f96c3849c6997ec4ce134f (patch) | |
tree | 4359c27de8896645e053c1d673a5829a0f05f7cc /acconfig.h | |
parent | 47f40343b304cbd92dec796cdb2b647743a95c01 (diff) | |
download | cpython-d0b69eceb446ac7176f96c3849c6997ec4ce134f.zip cpython-d0b69eceb446ac7176f96c3849c6997ec4ce134f.tar.gz cpython-d0b69eceb446ac7176f96c3849c6997ec4ce134f.tar.bz2 |
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.
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -155,6 +155,9 @@ /* The number of bytes in a pthread_t. */ #undef SIZEOF_PTHREAD_T +/* Defined if PTHREAD_SCOPE_SYSTEM supported. */ +#undef PTHREAD_SYSTEM_SCHED_SUPPORTED + /* sizeof(void *) */ #undef SIZEOF_VOID_P |