Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Fork multi processes

by DrHyde (Prior)
on May 04, 2012 at 09:49 UTC ( #968901=note: print w/replies, xml ) Need Help??


in reply to Fork multi processes

Use Parallel::ForkManager. There's an example here. I see that in a reply you said you wanted to do it without using any non-core modules. That's stupid. But if you want to perpetrate stupidity (perhaps because your boss is an arse-hat) then I suggest that you take Parallel::ForkManager and simply put a copy of it in your code.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968901]
help
Chatterbox?
[Corion]: Oooh - I had another devious idea - "Host C" - a C language where every struct is 4K in size. This makes memory and disk access incredibly fast ;)
[Corion]: (because everything is aligned to a memory page and all pages can be read+written directly from disk without buffering)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-04-25 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.