home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.17 / text0087.txt < prev    next >
Encoding:
Internet Message Format  |  1990-01-06  |  823 b 

  1. From: henry@utzoo.uucp
  2.  
  3. >From: Jeffrey S. Haemer <jsh@usenix.org>
  4. >[threads vs signals] In fact,
  5. >I think the early, simpler versions of signal() look a lot like what's
  6. >needed (around V6 or so)...
  7.  
  8. Actually, it can be simpler yet, as Waterloo's Thoth system showed.
  9. Subject to some sort of suitable protections (perhaps including a way
  10. to ignore signals), when a thread receives a signal, it drops dead.
  11. No signal handlers or blocking.  If you want some sort of recovery
  12. action, have another thread waiting for the first one to die:  it has
  13. access to all the first thread's data, so it can do whatever recovery
  14. is appropriate.
  15.  
  16.                                      Henry Spencer at U of Toronto Zoology
  17.                                  uunet!attcan!utzoo!henry henry@zoo.toronto.edu
  18.  
  19. Volume-Number: Volume 17, Number 96
  20.  
  21.  
  22.