Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Using Perl to run a Windows command-line utility many times with ordered, parallel execution

by jellisii2 (Hermit)
on Jan 27, 2014 at 18:10 UTC ( [id://1072260]=note: print w/replies, xml ) Need Help??


in reply to Re: Using Perl to run a Windows command-line utility many times with ordered, parallel execution
in thread Using Perl to run a Windows command-line utility many times with ordered, parallel execution

So when does threads::Q get published to CPAN? :) I did find it at Re^5: dynamic number of threads based on CPU utilization, though...
  • Comment on Re^2: Using Perl to run a Windows command-line utility many times with ordered, parallel execution

Replies are listed 'Best First'.
Re^3: Using Perl to run a Windows command-line utility many times with ordered, parallel execution
by BrowserUk (Patriarch) on Jan 27, 2014 at 20:09 UTC

    Thread::Queue would work just as well, though it would consume a little more memory without some additional code to limit the size of the queue.

    But for the OPs 10k items and 20 threads that would still come in at less than 40mb.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
        What about Thread::Queue::MaxSize?

        Honestly?

        If you're not the author, read on:

        If you are the author. Sorry.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found