Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Forking a new Process

by sevensven (Pilgrim)
on Nov 06, 2001 at 06:16 UTC ( #123483=note: print w/replies, xml ) Need Help??

in reply to Forking a new Process

Well, assuming you dont kill the parent process, why dont you let the parent process do all the forking ?

It's better if you have only one process doing it, otherwise, two children could decide independently that 3 new process where needed and you would realy have 6 new process (and so on).

If you realy crave for children of parents that want to be children of their grandparent, I don't think there's anything like that in the C api, so there should be neither in Perl's fork.

May the modules from Poe (perl application kernel with event driven threads) and it's modules can give you a hand.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://123483]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2020-10-23 03:30 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (234 votes). Check out past polls.