Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Question about Parallel::ForkManager

by ikegami (Patriarch)
on Sep 30, 2011 at 22:01 UTC ( [id://928938]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Question about Parallel::ForkManager
in thread Question about Parallel::ForkManager

I didn't realized it used the disk. Pipes could be used, so I'm curious why it uses the disk. (Ah yes, using pipes would prevent the parent from doing other work while the children are running. This is usually not a problem, but it would break P::FM's interface to support this.)

There won't be a race condition. It surely defends against that using the process id in the file name.

Replies are listed 'Best First'.
Re^4: Question about Parallel::ForkManager
by vit (Friar) on Sep 30, 2011 at 22:07 UTC
    Maybe I can do something simple with "fork" and pipes? If you have a solution could you give it to me.
      I don't have that handy, no. If you're ok with a solution that uses threads, I can provide that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-03-19 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found