HP3000-L Archives

August 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Dirickson <[log in to unmask]>
Reply To:
Steve Dirickson <[log in to unmask]>
Date:
Sun, 19 Aug 2001 13:04:20 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
> I've a program I want to run as a child process, activating
> it periodically
> to have it do some work for me.  All this works fine.  When I
> am done with it,
> however, I'd like to call it one more time, telling it to
> clean up and quit.
> This also works fine *except* that when it quits, my process
> never gets reactivated.

If the parent is activating the child with a non-zero 'allow' parameter to
ACTIVATE, you need to change that last call to pass zero for 'allow' (or
omit it). Alternatively, the parent can continue to activate the child with
allow==2, but the child will have to call ACTIVATE on the parent PIN (with
'allow' omitted or set to zero) before it exits. Or, if the parent is
calling SUSPEND(2) while the child runs, don't do that in the case where the
child is being activated so it can exit.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2