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

Re: Kill and free the memory Never ending threads from main

by BrowserUk (Pope)
on Aug 24, 2013 at 06:35 UTC ( #1050771=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\Downloaded\testp>perl -Mthreads -E"async{ sleep; }; say 'hi & bye';
    hi & bye
    ...
            1 running and unjoined
            0 finished and unjoined
            0 running and detached
    
  2. or download this
    C:\Downloaded\testp>perl -Mthreads -E"async{ sleep; }->detach; say 'hi
    + & bye';"
    hi & bye
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (18)
As of 2015-07-29 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls