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-19 00:49:59 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!psinntp!uuneo!sugar!jabberwock!daniels From: daniels@biles.com (Brad Daniels) Subject: Re: Threads in DCE References: <2cgb53$efn@bbs.pnl.gov> Organization: Biles and Associates Date: Thu, 18 Nov 1993 20:09:10 GMT Message-ID: In article <2cgb53$efn@bbs.pnl.gov>, Adrian Wong 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? CMA (originally "Common Multithread Architecure", later called "Concert Multithread Architecure") was DEC's first publicly available thread API and sample thread implementation. DECthreads is DEC's commercial implemen- tation of threads, which evolved from the CMA effort as CMA evolved into pthreads. Pthreads refers to the POSIX realtime extensions which used a base document generated by the CMA folks. At one time, the only difference between CMA threads and pthreads was that CMA had a cma_ in front of every symbol name, while pthreads had a pthread_ in front of everything. Some implementations of pthreads are really just the DEC sample implementation of CMA with a few tweaks. Anyway, the pthreads API is the standard, and should be used in preference to the CMA interface. Since they are nearly (completely?) identical, that should be no problem. The use of pthreads is described in the OSF DCE Application Development Guide and in one of the POSIX 1003 documents (I think it's 1003.4a, "Real Time Extensions to POSIX"). I'm not positive what the approval status is on the real-time extensions. - Brad -------------------------------------------------------------------------- + Brad Daniels | Until you can prove unequivocally that + + Biles and Associates | you're arguing epistemology with me, + + These are my views, not B&A's | I won't argue epistemology with you. + --------------------------------------------------------------------------