home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / research / 889 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  3.1 KB

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