home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!darkstar.UCSC.EDU!osr
- From: wtc@cbnewsl.att.com
- Newsgroups: comp.os.research
- Subject: Re: threads wanted
- Message-ID: <1833jjINNe8u@darkstar.UCSC.EDU>
- Date: 2 Sep 92 19:10:43 GMT
- References: <17n08iINN798@darkstar.UCSC.EDU>
- Organization: AT&T UNIX System Laboratories
- Lines: 59
- Approved: comp-os-research@ftp.cse.ucsc.edu
- NNTP-Posting-Host: ftp.cse.ucsc.edu
- X-Original-From: bill@usl.com (William Cox)
- Originator: osr@ftp
-
- In article <17n08iINN798@darkstar.UCSC.EDU> ted@squall.cis.ufl.edu (Ted Johnson) writes:
- >
- >I'd appreciate it if someone can tell me where I can get access
- >to a threads package. We're developing the system on decstations
- >running ultrix, and we'd prefer posix compatability.
-
- What you call "POSIX compatibility" for threads does not yet exist.
-
- Pthreads (P1003.4A) is a DRAFT standard being produced by the IEEE Technical
- Committee on Operating Systems (TCOS). For a variety of wierd historical
- reasons (don't ask) it grew out of the POSIX P1003.4 work on realtime
- interfaces.
-
- Each draft of "Threads Extension for Portable Operating Systems" say on the
- cover page
-
- This is an unapproved draft and is subject to change.
- All rights reserved by the Institute of Electrical and Electronics Engineers.
- Do not specify or claim conformance to this document.
-
- This wording has been on every draft since 1989.
-
- Now the fact that people are not supposed to "specify or claim conformance"
- hasn't stopped that from happening. I know of at least three different
- implementations to DIFFERENT DRAFTS of Pthreads; one of the companies
- has been playing fast and loose with its "POSIX Conformance" and not
- telling customers that the version they implemented is almost three
- YEARS out of date. (I won't go into the claimed conformance to POSIX.4
- realtime extensions, which has been in ballot for a loong time.)
-
- The next ballot of Pthreads can't happen until early next year; Pthreads
- has not yet gotten to where a recirculation ballot is possible, so
- a POSIX threads standard is likely not feasible until mid- to late-1993.
-
- So "posix compatibility" may mean "Pthreads draft 4", "Pthreads draft 2",
- or "Pthreads draft 9 [1989]". There are enough differences between these
- that a sophisticated application is likely to require signficant porting
- effort. If all you want is thread creation, exit, and join, you will have few
- changes, but many semantics have changed, sometimes in subtle
- (may I say inscrutable?) ways.
-
- BTW, the most recent publicly available draft is Draft 6 on which
- balloting closed in May, 1992. Draft 7 is being produced by the technical
- reviewers, but will not be publicly visible until year end.
-
- Enough of the soapbox. Your practical problems can be addressed by DEC's
- Concert Multithread Architecture, which has a partial set of Pthreads Draft 4
- wrappers available. A somewhat crufty version was included in OSF's DCE code.
- Check with your DEC representative; if you get nowhere, send me mail
- and I can probably get you a contact.
-
- bill
-
- William Cox
- bill@usl.com
- UNIX System Laboratories, Inc
- Summit NJ 07901
-
- Technical reviewer for P1003.4A
-