home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / arch / 11940 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  2.5 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!cmcl2!panix!davidc
  2. From: davidc@panix.com (David B. Chorlian)
  3. Newsgroups: comp.arch
  4. Subject: Re: <None> (Should be Open Systems, bloody NEWS system...)
  5. Message-ID: <1992Dec25.011851.28732@panix.com>
  6. Date: 25 Dec 92 01:18:51 GMT
  7. References: <1992Dec22.011414.21727@ryn.mro4.dec.com> <id.CD1W.3Q2@ferranti.com> <1992Dec23.050719.4047@ryn.mro4.dec.com> <id.CG2W.R8A@ferranti.com> <1992Dec23.212321.26522@ryn.mro4.dec.com>
  8. Organization: PANIX Public Access Unix, NYC
  9. Lines: 46
  10.  
  11. In <1992Dec23.212321.26522@ryn.mro4.dec.com> pjdm@chmeee.enet.dec.com (Peter Mayne) writes:
  12.  
  13.  
  14. >In article <id.CG2W.R8A@ferranti.com>, peter@ferranti.com (peter da silva) writes:
  15.  
  16. >>That's right. The UNIX programming model. The point is that the UNIX API is
  17. >>very high level, and can be modified to provide any capability I've ever
  18. >>heard of without breaking it. There is NO excuse for any new operating
  19. >>system after about 1984 or 85 to use anything lower level. It increases the
  20. >>cost of software design, increases the cost of education and training, and
  21. >>decreases the amount of commonly available high quality software.
  22.  
  23. >OK, try this. VMS has something called an AST (Asynchronous System Trap) which
  24. >is similar to a user-mode interrupt. This may occur at any time: for instance,
  25. >an asynchronous I/O can call an AST routine when the I/O completes. When the
  26. >AST routine completes, control returns to the code that was executing at the
  27. >time the AST occurred. (The analogy in NT is the APC, or Asynchronous
  28. >Procedure Call.)
  29.  
  30. >Now, much of the run-time stuff in UNIX is non-reentrant. In particular, the 
  31. >use of errno springs to mind. If the AST (or APC) was introduced into the
  32. >UNIX model, how can I use these non-reentrant routines safely in an AST
  33. >routine without screwing things up?
  34.  
  35. Use the right Unix.  Concurrent (formerly Masscomp) RTU provides
  36. user-level AST's, reentrant (and preemptable) run-time stuff in UNIX
  37. kernal routines, without any problem.  Much of the device-driver
  38. libraries for asynchronous devices (data acquisition, programmable
  39. graphics system, vector processor, etc.) is written with AST's.  The
  40. model for the user is a more sophisticated signal interface.
  41. (Masscomp was started by people from DEC, I recently learned.)
  42.  
  43. >Peter Mayne                     | My statements, not Digital's.
  44. >Digital Equipment Corporation   |
  45. >Canberra, ACT, Australia        | "AXP!": Bill the Cat
  46.  
  47. David B. Chorlian
  48. Neurodynamics Lab
  49. SUNY/HSCB 
  50. davidc@panix.com
  51.  
  52. -- 
  53. David B. Chorlian
  54. Neurodynamics Lab
  55. SUNY/HSCB 
  56. davidc@panix.com
  57.