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:
"Jonathan M. Backus" <[log in to unmask]>
Reply To:
Date:
Sun, 19 Aug 2001 15:44:32 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (74 lines)
Ted,

        How are you creating the son process?  Are you using the "create"
intrinsic?  If so, are you setting the loadflag to reactivate the parent?

          CA          CA        I16 I16V U16V      I16V      I16V   I16V
U16V          I16V

CREATE(formaldesig,entryname,pin,parm,loadflags,stacksize,dlsize,maxdata,pri
orityclass,rank);

loadflags   16-bit unsigned integer by value (optional)

Specifies the loading options as follows:
Bits   VaIue/Meaning
15:1   Active

0   Calling process not activated when the new process terminates
1   The system reactivates the calling process (parent) when the new process
terminates
Default:    0

Thanx,
  Jonathan (Jon) M. Backus, MPE-CSM ~ President
  Tech Group ~ 15 Catawba Place ~ Hagerstown, MD ~ 21742-6515
  Email: [log in to unmask] ~ AIM: JMBackus
  Vmail: 301.988.0614 ~ Fmail: 301.714.1854
  Web: www.TechGroupMD.com


-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
Behalf Of Ted Ashton
Sent: Sunday, August 19, 2001 3:28 PM
To: [log in to unmask]
Subject: Activate dying process


Greetings,
  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.
  I know that this can be done, as Qedit will do exactly what I'm looking
for
right down to getting itself reactivated when the program quits, but all my
RTFMing has not yet allowed me to dope out what, perzactly, I should do to
make
this happen.  Any advice (even advice on the subject) gladly accepted.

TIA,
Ted
--
Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist University
          ==========================================================
"I think you're begging the question," said Haydock, "and I can see looming
ahead one of those terrible exercises in probability where six men have
white hats and six men have black hats and you have to work it out by
mathematics how likely it is that the hats will get mixed up and in what
proportion. If you start thinking about things like that, you would go round
the bend. Let me assure you of that!"
                                            -- Christie, Agatha
          ==========================================================
         Deep thought to be found at http://www.southern.edu/~ashted

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

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

ATOM RSS1 RSS2