Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 lurking in the Monastery: (3)
As of 2015-09-01 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (366 votes), past polls