home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.21 / text0131.txt < prev    next >
Encoding:
Text File  |  1990-10-26  |  855 b   |  19 lines

  1. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  2.  
  3. In article <541@usenix.ORG> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:
  4. >In the filesystem abstraction, you open a filename in one stage. You
  5. >can't do anything between initiating the open and finding out whether or
  6. >not it succeeds. This just doesn't match reality, and it places a huge
  7. >restriction on programs that want to do something else while they
  8. >communicate.
  9.  
  10. Programs that want to do two things at once should use explicit parallelism,
  11. e.g. some sort of threads facility.  In every case I've seen, this yielded
  12. vastly superior code, with clearer structure and better error handling.
  13. -- 
  14. TCP/IP: handling tomorrow's loads today| Henry Spencer at U of Toronto Zoology
  15. OSI: handling yesterday's loads someday|  henry@zoo.toronto.edu   utzoo!henry
  16.  
  17. Volume-Number: Volume 21, Number 131
  18.  
  19.