home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / modula3 / 1044 < prev    next >
Encoding:
Text File  |  1992-11-23  |  833 b   |  24 lines

  1. Newsgroups: comp.lang.modula3
  2. Path: sparky!uunet!decwrl!pa.dec.com!src.dec.com!src.dec.com!muller
  3. From: Eric Muller <muller@src.dec.com>
  4. Subject: Re: Failing system calls and threads
  5. Message-ID: <1992Nov23.181035.17514@src.dec.com>
  6. Sender: news@src.dec.com (News)
  7. Organization: DEC Systems Research Center
  8. References:  <1992Nov20.120734.23671@rdg.dec.com>
  9. Date: Mon, 23 Nov 92 18:10:35 GMT
  10. Lines: 12
  11.  
  12. In article <1992Nov20.120734.23671@rdg.dec.com>, jch@rdg.dec.com (John Haxby) writes:
  13.  
  14. |> Obviously, if some other thread gets to run between the call to write() and
  15. |> the examination of errno then the value of errno may no longer be valid or
  16. |> useful when you come to look at it.
  17.  
  18. In SRC Modula-3, it will be.  The thread machinery takes care of
  19. saving/restoring errno when a thread switch occurs.  It's that simple.
  20.  
  21. -- 
  22. Eric.
  23.  
  24.