From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,de5c59ca31ea055,start X-Google-Attributes: gid1164f8,public From: peltz@jaka.ece.uiuc.edu (Steve Peltz) Subject: DU 4.0 threads Date: 1996/08/08 Message-ID: <4udm15$fk8@vixen.cso.uiuc.edu>#1/1 X-Deja-AN: 172978445 organization: University Communications, Inc. newsgroups: comp.sys.dec Guide to DECthreads for 4.0 says, with regard to thread scheduling, that "prior to Digital Unix Version 4.0, all threads were System Contention Scope. In Digital UNIX Version 4.0, all threads created using DECthreads are in Process Contention Scope. In the future, the pthread_attr_setscope function will allow the programmer to select the desired contention scopre for each thread created". Does this apply to any threaded programming running on DU4.0, or only programs that have been compiled under 4.0, or only programs that have been compiled under 4.0 with -pthreads instead of -threads? How long do we have to wait until the pthread_attr_setscope function is available. Is there any way now to force system contention scope? Does this mean I should retreat back to 3.2, since I really need it to be done the other way? Is there a list of all changes from the Draft POSIX standard that -threads gets and the version that -pthreads gets, or is the only way to compile it using -pthreads and start tracking down all the errors? I've already got a small list of my own, but of course I've really only found those things that change the syntax (such as types of variables, using NULL instead of the various default attribute types, etc). If there are other behavioral changes, such as the priority scheduling, or that sigaction is now global rather than thread-specific, I'm not likely to notice it until it starts causing problems.