Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Threads From Hell #1: How To Share A Hash [SOLVED]

by marioroy (Prior)
on Aug 29, 2015 at 04:49 UTC ( [id://1140396]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use threads;
    ...
        Math::BigInt->bfac($number);
    }
    
  2. or download this
    use strict;
    use MCE::Flow;
    ...
        Math::BigInt->bfac($number);
    }
    
  3. or download this
    MCE::Flow::init {
       chunk_size => 1,
    ...
    
    mce_flow_s \&process, 1, 1000;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2024-04-23 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found