Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Parallel::Runner and Amazon SQS Issue

by stonecolddevin (Vicar)
on Sep 13, 2012 at 01:28 UTC ( #993336=note: print w/ replies, xml ) Need Help??


in reply to Re: Parallel::Runner and Amazon SQS Issue
in thread Parallel::Runner and Amazon SQS Issue

It would seem to me that I'd want to update in the parallel process, otherwise it only gets updated for however many children there are, not for however many items in the dataset there are.

Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past


Comment on Re^2: Parallel::Runner and Amazon SQS Issue
Re^3: Parallel::Runner and Amazon SQS Issue
by remiah (Hermit) on Sep 13, 2012 at 06:05 UTC

    It seems to me, you are looking for shared variable and lock facility for ipc processes. If threads::shared is what you are looking for, please see example of zentra and example of BrowserUK and documents for thread.

    It is pity of me not well educated myself for threads, to say something... I hope it helps you.

      Thanks a bunch remiah, I think you are ultimately on the right track. I'll look into these nodes.

      I appreciate your help!

      Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-10-24 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (138 votes), past polls