Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
The stupid question is the question not asked
 
PerlMonks  

Re: Do threads do global destruction?

by rjt (Chaplain)
on Nov 09, 2012 at 22:30 UTC ( #1003212=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Memory leak test. Ctrl-C to stop.
    
    20 threads (17831 lifetime),   845.99 MiB RSS [================ ] / ^C
    
  2. or download this
    use warnings;
    use strict;
    use threads;
    ...
        threads->create(\&highmem) if (threads->list() < $NUM);
        print_mem();
    } while(sleep(0.1));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-04-21 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls