From: Erik_Brown@transarc.com
Subject: Re: Looking for a pthreads package under AIX
Date: Thu, 11 Nov 1993 14:47:24 -0500 [thread overview]
Message-ID: <IgsdPAmSMUYQMj6L8P@transarc.com> (raw)
In-Reply-To: <2btpl9INN94a@clam.hi.com>
wright@clam.hi.com (David Wright) writes:
> One thing to be wary of if you use DCE threads, however, is that they
> were written based on the Posix P1003.4a Draft 4 proposal. As the
> proposal is now up to draft 8, and quite a few things have changed,
> you run the risk of being significantly out of step.
>
> A big change is that after draft 4, all blocking system and library
> calls are thread cancellation points; this was optional in draft 4 and
> DCE threads do not assume it.
This is true. However, I wouldn't expect many programs to use thread
cancellations extensively, especially with blocking system calls. The
DCE documentation with any release should identify which routines are
cancellation points and which are not.
I think a bigger change from draft 4 to draft 8 is in the scheduling
mechanisms (e.g. mutexes) and signal handling. Most especially signals,
since signals are used quite extensively by many programs. Thread
cancellations and real-time scheduling mechanisms are less well known
and will likely not be used so much (at least in the short term).
While P1003.4a Draft 8 is the official version of threads, draft 4
probably has the most implementations (due to DCE availability). I
suspect Draft 8 will win the day, since it is the official version.
However, a number of programs are now being written to the draft 4 spec,
and these will have to be supported for a long time to come. Should be
interesting to see how the OSF and DCE vendors eventually handle this.
-eeb
next prev parent reply other threads:[~1993-11-11 19:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-11-10 13:39 Looking for a pthreads package under AIX Dave Shaver
1993-11-10 19:55 ` Erik_Brown
1993-11-11 11:35 ` David Wright
1993-11-11 19:47 ` Erik_Brown [this message]
1993-11-19 4:57 ` Peter J MASON
1993-11-19 16:16 ` Larry Buickel
1993-11-24 7:55 ` Rainer Hochreiter
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