From: wright@clam.hi.com (David Wright)
Subject: Re: Threads in DCE
Date: 30 Nov 1993 19:47:49 -0000 [thread overview]
Message-ID: <2dgpjlINNhi0@clam.hi.com> (raw)
In-Reply-To: 2dfpe8$h0h@nntpd.lkg.dec.com
In article <2dfpe8$h0h@nntpd.lkg.dec.com> mjg@ktbush.ogo.dec.com (Michael J. Grier) writes:
>
>In article <1993Nov18.184228.2603@ncsu.edu>, mauney@adm.csc.ncsu.edu (Jon Mauney) writes:
>|>pthreads is a Posix standard-to-be. OSF DCE specifies Posix 1003.4a draft 4
>|> for their threads interface. Posix has progressed beyond draft 4, but DCE
>|> is what it is.
> From what I understand, the DCE pthreads interface will synchronize with
>the POSIX specification when it is complete. Be ready to change your
>source code!
But the 1003.4a standard is not yet settled, and OSF has no current
plans to change their threads. Nor do I expect to even see any plans
until the standard is approved.
>|>cma is Digital's proprietary threads interface. Digital supplied cma to OSF
>|> as a technology to implement user-space threads on non-threaded kernels,
>|> so you may see it in DCE products, but DCE programs should use the pthread
>|> interface.
> As has been mentioned in other postings, CMA and Pthreads D4 are pretty
>much alike.
> The difference is that the CMA interface is stable and will not change
>in the future. If you want your sources to continue to compile and build
>without changes into the future, on Digital platforms at least, CMA is your
>tool.
However, none of the OSF-supplied DCE components use the CMA calls
directly, or at least they are not supposed to and any such code is
considered a bug. No telling what might come along later, so "be
prepared to change your source" is even more appropriate than for
pthreads users.
Maybe on Digital platforms it's considered safe to use CMA interfaces,
but I wouldn't do it on any other vendor platforms. I'd have junked
CMA on the port I'm doing except that I didn't have time to locate
bugs in our OSF/1 pthreads library.
-- David Wright, Hitachi Computer Products (America), Inc. Waltham, MA
wright@hi.com :: These are my opinions, not necessarily Hitachi's,
but you're free to disagree, you poor deluded creature
next prev parent reply other threads:[~1993-11-30 19:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-11-18 17:24 Threads in DCE Adrian Wong
1993-11-18 18:42 ` Jon Mauney
1993-11-30 15:38 ` Michael J. Grier
1993-11-30 19:47 ` David Wright [this message]
1993-11-18 19:29 ` Mark Hickey
1993-11-18 20:09 ` Brad Daniels
1993-11-21 4:13 ` Rich Salz
1993-11-23 12:09 ` Casper H.S. Dik
1993-11-23 17:00 ` Rich Salz
1993-11-25 17:38 ` Nullmeier, Markus
1993-11-30 14:08 ` Rich Salz
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