Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Forking a new Process

by sevensven (Pilgrim)
on Nov 06, 2001 at 06:16 UTC ( [id://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.

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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found