Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: perl threads in a recursive function

by moritz (Cardinal)
on Aug 21, 2013 at 11:17 UTC ( #1050327=note: print w/ replies, xml ) Need Help??

in reply to perl threads in a recursive function

Read perlthrtut. Threads are spawned with threads->create(\&codref, @args); and it doesn't matter if the function that does it is recursive or not.

That said, the requirement does sound odd, and you'd do well to question it critically. Maybe you have an XY Problem?

Comment on Re: perl threads in a recursive function
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2015-11-27 02:12 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 (712 votes), past polls