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