[CLUE-Tech] PERL Q
Joe 'Zonker' Brockmeier
jbrockmeier at earthlink.net
Sat Jun 2 07:35:47 MDT 2001
On Sat, 2 Jun 2001, Grant Johnson wrote:
> Tim Russell wrote:
> >
> > What about fork? That's the way you do it in C.
> >
> > You call fork() and look at the return value - the parent gets one
> > value, and the child gets another. Both run at the same time.
> >
> > I think a "while (true) fork()" would do the trick for you...
> >
> > Tim
> > _______________________________________________
> > CLUE-Tech mailing list
> > CLUE-Tech at clue.denver.co.us
> > http://clue.denver.co.us/mailman/listinfo/clue-tech
> Unfortunately, fork() makes it a chile process. These are very much
> "fire and forget." I want the first process to be able to stop running,
> and leave everything else going without causing zombies. I may look at
> fork() followed by exec().
A "chile" process? Kind of spicy?
Take care,
Zonker
--
Joe 'Zonker' Brockmeier -=- jbrockmeier at earthlink.net
http://www.ZonkerBooks.net/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Liberty's too precious a thing to be buried in books... Men
should hold it up in front of them every single day of their lives
and say: I'm free to think and to speak. My ancestors couldn't, I
can, and my children will. Boys ought to grow up remembering that."
"Mr. Smith Goes to Washington" -- James Stewart
More information about the clue-tech
mailing list