Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1050327]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2017-03-31 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (364 votes). Check out past polls.