Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: peltz@jaka.ece.uiuc.edu (Steve Peltz)
Subject: DU 4.0 threads
Date: 1996/08/08	[thread overview]
Message-ID: <4udm15$fk8@vixen.cso.uiuc.edu> (raw)


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.



             reply	other threads:[~1996-08-08  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-08  4:00 Steve Peltz [this message]
1996-08-09  4:00 ` DU 4.0 threads Dave Butenhof
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox