home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 13115 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.1 KB

  1. Path: sparky!uunet!olivea!hal.com!hal!brennan
  2. From: brennan@hal.com (Dave Brennan)
  3. Newsgroups: comp.lang.c++
  4. Subject: What happens if I throw in a terminate function?
  5. Message-ID: <BRENNAN.92Aug31175527@yosemite.hal.com>
  6. Date: 31 Aug 92 23:55:26 GMT
  7. Organization: HaL Computer Systems, Austin, TX
  8. Lines: 14
  9. NNTP-Posting-Host: yosemite.hal.com
  10.  
  11. If I use set_terminate to set up my own terminate function, then throw an
  12. exception in my terminate function what happens?  Is this a legal thing to
  13. do?  ARM doesn't seem to take sides on this issue.  I'm looking at this
  14. from an implementation point of view.  What I need to determine is if the
  15. implementation should allow the throw, or if it should do something nasty
  16. like call abort.  Obviously (at least after you've been thinking about
  17. exceptions all day) it would have to abort once there's nobody left to
  18. catch.
  19.  
  20. --
  21. Dave Brennan                                      HaL Computer Systems
  22. brennan@hal.com                                         (512) 794-2855
  23.  
  24. Visit the Emacs Lisp Archive: archive.cis.ohio-state.edu:pub/gnu/emacs
  25.