Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Do threads do global destruction?

by rjt (Deacon)
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 pondering the Monastery: (7)
As of 2014-12-20 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls