Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to use multithreading in perl?

by BrowserUk (Pope)
on Apr 13, 2014 at 00:50 UTC ( #1082134=note: print w/ replies, xml ) Need Help??


in reply to How to use multithreading in perl?

Hi, I am C++ developer and now learning and implementing multithreading in perl. But i found most of the examples jsut tell the basics only. Any real working example solving a pblm will help me a lot. Thanks

Hi. I am Perl developer and now learning and implementing multi-threading in C++. Any real working example solving a pblm will help me a lot.

My point: What kind of problem are you seeking to tackle?

Because if you are expecting that any single example of threading in Perl is going to show you everything; you're sh*t outta luck.

Multi-threading an IO-bound problem requires a completely different approach to multi-threading a CPU-bound problem.

An 'embarrassingly parallel' task might be trivial to implement in Perl, if the dataset easily partitions vertically; however, it might be nearly impossible to code efficiently if the only way to partition the dataset is horizontally.

If you can define your actual problem in clear and concise terms; providing sufficient information, clear and unambiguous estimates of scale; and real(istic) data samples; and an idea of where you are having problems in coding a solution; then we may be able to begin making suggestions for your direction.


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.


Comment on Re: How to use multithreading in perl?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-03 02:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls