Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DU 4.0 threads
@ 1996-08-08  4:00 Steve Peltz
  1996-08-09  4:00 ` Dave Butenhof
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Peltz @ 1996-08-08  4:00 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-08-09  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-08  4:00 DU 4.0 threads Steve Peltz
1996-08-09  4:00 ` Dave Butenhof

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