From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,e5cbbfd051ebdaf0 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-11-18 13:49:23 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!concert!inxs.concert.net!taco!adm.csc.ncsu.edu!mauney From: mauney@adm.csc.ncsu.edu (Jon Mauney) Subject: Re: Threads in DCE Message-ID: <1993Nov18.184228.2603@ncsu.edu> Sender: news@ncsu.edu (USENET News System) Organization: (Administration machine NCSU Dept. Computer Science) X-Newsreader: Tin 1.1 PL5 References: <2cgb53$efn@bbs.pnl.gov> Date: Thu, 18 Nov 1993 18:42:28 GMT Adrian Wong (rg240@fermi.pnl.gov) wrote: : Can someone tell what the overall differences are between the : various thread libraries: DECthreads, pthread, CMA? Are threads : considered an integral part of DCE? To link the RPC stuff requires : some thread library, so if you install DCE for your machine does : it automatically come with the thread package? : : Has OSF put out a reference manual for their supported threads? : : I've been tinkering around on the DEC AXP evaluation machine, which : is probably why I'm so confused..... 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. 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. DECThreads is Digital's supported product. It provides an implmentation of pthreads (draft 4), a variant on pthreads, and cma, so you can program to whichever API you deem most suitable. OSF DCE requires threads, so any DCE implementation will have threads one way or another, and if you get the development tools you will have a pthreads interface. DECthreads, not surprisingly, is the way that Digital supplies threads for its DCE product on Alpha AXP. The OSF DCE Application Development Guide and Application Develeopment reference include threads. They are available in the complete set from OSF, and individually from Prentice-Hall. DCE Application Development Guide ISBN 0-13-643826-1 DCE Application Development Reference ISBN 0-13-643834-2 The DECthreads manual should give equivalent information.