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-20 20:29:32 PST Path: gmd.de!xlink.net!sol.ctr.columbia.edu!news.kei.com!bloom-beacon.mit.edu!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.unix.osf.misc Subject: Re: Threads in DCE Date: 21 Nov 1993 04:13:50 GMT Organization: Open Software Foundation Message-ID: <2cmptu$j7k@paperboy.osf.org> References: <2cgb53$efn@bbs.pnl.gov> NNTP-Posting-Host: sulphur.osf.org In <2cgb53$efn@bbs.pnl.gov> rg240@fermi.pnl.gov (Adrian Wong) writes: >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? DCE both provides and requires a thread package. CMA (concert multiprocess architecture) was the core technology of the original library provided by Digital. OSF considers it a bug if any DCE code calls any of the cma_xxx routines. We use and document the pthread interface, including some "pthread_xxx_np" functions where the "_np" suffix indicates that it is not guaranteed to be portable. The term CMA is discouraged; use DCE threads or, perhaps DEC threads. Philosophically, the DCE evaluation team here took threads for granted and assumed that it would very soon be part of the standard programming facilities. DCE includes a threads package (done in user space, making heavy use of #define wrappers) primarily to show what's needed. I know several people here are disappointed that more people aren't providing their own integral threads support and are instead just porting DCE threads. >Has OSF put out a reference manual for their supported threads? DCE documentation includes introductory material on threads and the reference manual includes manpages for the pthreads routines. The AES Threads Volume, which is on the X/Open fast track for standardization (all of DCE is), is about to be released for X/Open review. I expect that X/Open will approve the AES way before Posix finishes its thread specification; it will be interesting to see what happens then. /r$