Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-11-25 15:52 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 (682 votes), past polls