Hello,
Thursday, February 19, 2004, 9:31:59 AM, Robert Friberg wrote:
RF> A solution could be to create a fixed number of threads and let them
RF> fetch work from a shared array.
Thanks for all your help!
Your example was very helpful for me: I am creating
workers-threads, they are work continu
Hi,
I have W2k pro sp1 and activestate perl 5.8.0. When I run your code
I also see an increasing memory use, but slow. Without the join()
memory usage rockets, the following code reaches a memory high of 3100 kb
at 50 threads, but over 2 kb without the join.
#!perl -w
use threads;
my $i;
w
Hello Robert,
Thursday, February 19, 2004, 7:01:34 AM, you wrote:
RF> Hi,
>> this script consume fast whole memory
RF> Get more memory :)
RF> You have to either call detach() or join(),
RF> otherwise the resources used wont be released.
RF> If you want to get the return value you call join:
Online AB http://www.miljo-online.se/
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 19, 2004 5:36 AM
> To: [EMAIL PROTECTED]
> Subject: mem
Hello perl-ithreads,
this script consume fast whole memory
undef dont help me - memory usage increased on every &lwp loop
I run it on WindowsXP SP1 with ActiveState 5.8.2
please help.
Thanks in advance.
#!perl -w
use threads;
#use strict; # of course I have ran it with "use strict" too
use