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

Re^2: Perl Threads Boss/Worker Example

by joemaniaci (Sexton)
on Apr 24, 2012 at 22:11 UTC ( #966951=note: print w/ replies, xml ) Need Help??

in reply to Re: Perl Threads Boss/Worker Example
in thread Perl Threads Boss/Worker Example

Windows 7, whatever the latest Strawberry perl is.

The reason I didn't do join was because I wasn't returning anything and it behaved in a non-parallel manner since I had to wait for the joined thread to return before I could start another thread. Unless I of course did something very wrong. My goal was parallelization and so far so good. I just attempted 450 files with 450 threads trying to tax my work computer. Maybe I can request an SSD at work since I think syscalls for read/write is what is the slowest part of my program now.

I will however look into the more modern code, see how it behaves

Comment on Re^2: Perl Threads Boss/Worker Example

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-11-28 18:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls