From: mjg@ktbush.ogo.dec.com (Michael J. Grier)
Subject: Re: Threads in DCE
Date: 30 Nov 1993 15:38:48 GMT [thread overview]
Message-ID: <2dfpe8$h0h@nntpd.lkg.dec.com> (raw)
In-Reply-To: 1993Nov18.184228.2603@ncsu.edu
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!
|>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.
From discussions with the DECthreads developers (I'm not one, just a client
for a number of years now) binaries built with the pthreads interface will
continue to work with sharable libraries in the future (i.e. the old interfaces
will be preserved) but source compatibilty will not be maintained.
Basically from where I sit, the decision of which to make depends on your
market and where you want to spend your time in the future. If you need
multiplatform support today, pthreads is really your only choice. CMA is
available on a number of Digital platforms, but not every one that's
interesting. Pthread is available pretty much across the board, but as I
mentioned, you're buying into requiring source changes in the future. (I've
been assured that the source changes will be minimal/minor, but as any
maintainer knows, even "minimal" changes tend to introduce bugs...)
------------------------------------------------------------------------
I'm saying this, not Digital. Don't hold them responsibile for it!
Michael J. Grier Digital Equipment Corporation
(508) 496-8417 mjg@ktbush.ogo.dec.com
Stow, Mass, USA Mailstop OGO1-1/E16
next prev parent reply other threads:[~1993-11-30 15:38 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 [this message]
1993-11-30 19:47 ` David Wright
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