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

Re^2: Help On Perl - Multi Threading

by Arunbear (Prior)
on Feb 24, 2009 at 12:50 UTC ( #745981=note: print w/replies, xml ) Need Help??


in reply to Re: Help On Perl - Multi Threading
in thread Help On Perl - Multi Threading

Are there any documents you would recommend in place of perlthrtut ?

Replies are listed 'Best First'.
Re^3: Help On Perl - Multi Threading
by BrowserUk (Patriarch) on Feb 24, 2009 at 13:28 UTC

    None that I have seen.

    perlthrtut is little more that a verbose expansion of the threads pod. More reference than tutorial. All how and no why.

    Imagine someone asking the question: "I want to bake a pie".

    You could tell them about making pastry. You might mention the difference between savoury and sweet pastry. You could attempt to cover the need for a light touch and the affect of hand temperature upon pastry texture. You might mention blind baking. You might list some cooking temperature/time guidelines. You could talk about wet and dry fillings; and the need vent steam; and soggy crusts.

    But unless you start out by asking them the type of pie they are wanting to bake; the kind of filling they envisage; and how many people they are hoping to serve; most all of that advice is just going to set them up for disappointment.


    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.
      Correct me if I am wrong, but I think the question here is if the documentation is terribad, can you direct the person to a document or book more appropriate?

      Update: That is the equivalent of directing a student to pastry baking classes teaching techniques and foundation as opposed to asking them questions to which they have no background.
        Correct me if I am wrong, but I think the question here is if the documentation is terribad, can you direct the person to a document or book more appropriate?

        And my answer is: "No. I cannot. Because I do not know of anything existing that is more appropriate".

        Didn't I say that?


        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.
Re^3: Help On Perl - Multi Threading
by samtregar (Abbot) on Feb 24, 2009 at 19:44 UTC
    You might learn something from an article I wrote about using Perl threads in little toy app:

    http://www.perl.com/lpt/a/667

    Personally I prefer to use fork and pipes for IPC when I'm doing parallel programming with Perl. Perl's threads are too slow and the problems using non-thread-safe XS modules are too painful.

    -sam

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2022-06-25 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (81 votes). Check out past polls.

    Notices?