Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
[hippo]: They had purchased some shiny new 486 DXs the year before but crippled them by installing Win 3.1. I demo'd Linux with X on them to the department head and got the go-ahead to wipe Windows and install the new hotness.
[marto]: glory days ;)
[hippo]: Too true :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2018-06-22 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (124 votes). Check out past polls.

    Notices?