Problem with threading on Solaris
Lionel Ulmer
bbrox at bbrox.org
Sat Sep 8 11:57:37 EDT 2001
More information about the Python-list mailing list
Sat Sep 8 11:57:37 EDT 2001
- Previous message (by thread): How to resize tkinter label widget
- Next message (by thread): Problem with threading on Solaris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 07 Sep 2001 23:21:14 +0200, Martin von Loewis <loewis at informatik.hu-berlin.de> wrote: >Also, pthread_attr_setscope is part of Single Unix, so there is a good >chance that it is available on many Unix implementations. If >available, support for either contention scope is optional, so an >autoconf test may be required to find out whether PTHREAD_SCOPE_SYSTEM >is available. If it is, Python should probably use it. Ok, will try to add a configure check when 'pthread' has been found to see if 'pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)' compiles. If yes, I will add this to the thread_pthread.h file. By the way, how should I handle all the 'PY_PTHREAD_D*' mess ? In some case, we use 'NULL' as the thread attributes, sometimes 'pthread_attr_default'. If I do my patch as told, I will have to change all the NULL or pthread_attr_default parameters by my own variable that will be initialized by 'pthread_attr_init'. Should I change this in all the D4 / D6 / D7 sections or only in the STD section (the one used on Solaris) ? Anyway, more news on monday when I come back to work and have access to my Solaris workstation :-) Lionel PS: thanks to have applied (and improved) my telnetlib patch even if I was completely unresponsive (I was pretty busy lately). -- Lionel Ulmer - http://www.bbrox.org/
- Previous message (by thread): How to resize tkinter label widget
- Next message (by thread): Problem with threading on Solaris
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list