Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
The stupid question is the question not asked
 
PerlMonks  

Re: Forking a new Process

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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.

HTH

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://123483]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.