Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!pasteur!ucbvax!MITRE-BEDFORD.ARPA!mhg From: mhg@MITRE-BEDFORD.ARPA (Mark H. Granoff) Newsgroups: comp.os.vms Subject: Re: Forcing image exit and process deletion Message-ID: <8803151354.AA10597@mitre-bedford.ARPA> Date: 15 Mar 88 13:54:05 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 >Dec has already thought of this one for you. Look at the sys$forcex call. >It basically forces an error in another process and causes the exit handlers >to run, then the image exits. It's actually kind of nice, since I believe that >you could write a condition handler and use it like unix signals. > >bruce on bitnet Just for the record, the $FORCEX system service issues a $EXIT system service on behalf of another process in the form of an AST. The $EXIT system service then executes any exit handlers for that process before issuing a $DELPRC system service (also in the form of an AST). ASTs pending before the $EXIT AST is issued (by $FORCEX) are completed first. Just my two cents... +---------------------------------------------------------------------+ | Mark H. Granoff Member of the Technical Staff | +---------------------------------------------------------------------+ | USMAIL: The MITRE Corporation | ARPAnet: mhg @ mitre-bedford.ARPA | | Burlington Rd. | UUCP : linus!mbunix!mhg | | M/S B015 |-----------------------------------| | Bedford, MA 01730 | A T & T: (617) 271 - 7506 | +--------------------------- Disclaimer ------------------------------+ |The views expressed herein are my own and do not necessarily reflect | | those of my employer. | +---------------------------------------------------------------------+