Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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?

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 romping around the Monastery: (4)
As of 2016-10-28 06:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.