Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: (OT) Programming languages for multicore computers

by BrowserUk (Patriarch)
on May 06, 2009 at 10:07 UTC ( [id://762207]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub threadProc1 :threaded { ... }
    sub threadProc2 :threaded { ... }
    ...
    ## then the statements completes immediately. Otherwise it blocks unti
    +l
    ## both results are available. Effectively joining both threads.
    my $composite = $result1 + $result2;
    
  2. or download this
    
    my $pipeline :promise = TQmap {
    ...
    }
    
    exit;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-19 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found