From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,a28966d3a1ccc881 X-Google-Attributes: gidfc89c,public X-Google-Thread: f678f,a28966d3a1ccc881 X-Google-Attributes: gidf678f,public X-Google-Thread: 115614,a28966d3a1ccc881 X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 1993-11-11 15:44:07 PST Xref: gmd.de comp.unix.aix:22282 comp.unix.programmer:10220 comp.unix.osf.misc:681 Path: gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!ra!cs.umd.edu!haven.umd.edu!news.umbc.edu!europa.eng.gtefsd.com!uunet!noc.near.net!das-news.harvard.edu!honeydew.srv.cs.cmu.edu!bb3.andrew.cmu.edu!andrew.cmu.edu!postman+ From: Erik_Brown@transarc.com Newsgroups: comp.unix.aix,comp.unix.programmer,comp.unix.osf.misc Subject: Re: Looking for a pthreads package under AIX Date: Thu, 11 Nov 1993 14:47:24 -0500 Organization: Carnegie Mellon, Pittsburgh, PA Message-ID: References: <2btpl9INN94a@clam.hi.com> NNTP-Posting-Host: po5.andrew.cmu.edu In-Reply-To: <2btpl9INN94a@clam.hi.com> wright@clam.hi.com (David Wright) writes: > One thing to be wary of if you use DCE threads, however, is that they > were written based on the Posix P1003.4a Draft 4 proposal. As the > proposal is now up to draft 8, and quite a few things have changed, > you run the risk of being significantly out of step. > > A big change is that after draft 4, all blocking system and library > calls are thread cancellation points; this was optional in draft 4 and > DCE threads do not assume it. This is true. However, I wouldn't expect many programs to use thread cancellations extensively, especially with blocking system calls. The DCE documentation with any release should identify which routines are cancellation points and which are not. I think a bigger change from draft 4 to draft 8 is in the scheduling mechanisms (e.g. mutexes) and signal handling. Most especially signals, since signals are used quite extensively by many programs. Thread cancellations and real-time scheduling mechanisms are less well known and will likely not be used so much (at least in the short term). While P1003.4a Draft 8 is the official version of threads, draft 4 probably has the most implementations (due to DCE availability). I suspect Draft 8 will win the day, since it is the official version. However, a number of programs are now being written to the draft 4 spec, and these will have to be supported for a long time to come. Should be interesting to see how the OSF and DCE vendors eventually handle this. -eeb