Search   Feed   Browse   Add
Feed items 1 - 6 of 6 for June 2008

environment variables by Wong, Danny H. - June 13, 2008

Hi All, I have a script that set environment variables for 10 plusconfiguration and each configuration share some environment variable andhave some different or specific environment variables for a particularconfiguration. I set the env variables before calling each thread, but Inotice that the environment variable inherits the previousconfigurations environment setting.Example:configure 1:set 11 variablesConfigure 2:set 10 variables, all of of configure minus 1 specific variableBut...
http://www.nntp.perl.org/group/perl.ithreads/2008/06/msg1304.html

Re: Memory usage by Javier Terceiro - June 11, 2008

2008611 Jerry D. Hedden <jdheddencpan.org>:> On Wed, Jun 11, 2008 at 9:26 AM, Javier Terceiro <correolistagmail.com> wrote:>> Hello list,>>>> I am designed a new software. I am using threads. The operation is>> correct, but memory consumption is excessive. The system is using 100>> MB and when the software is working, 500 Mb. The memory is not>> released, why>> You need to either join the threads after they&39;re done working, or> else.
http://www.nntp.perl.org/group/perl.ithreads/2008/06/msg1303.html

Re: Memory usage by Jerry D. Hedden - June 11, 2008

On Wed, Jun 11, 2008 at 9:26 AM, Javier Terceiro <correolistagmail.com> wrote:> Hello list,>> I am designed a new software. I am using threads. The operation is> correct, but memory consumption is excessive. The system is using 100> MB and when the software is working, 500 Mb. The memory is not> released, whyYou need to either join the threads after they&39;re done working, orelse detach them. See below.>> The source code is:>>...
http://www.nntp.perl.org/group/perl.ithreads/2008/06/msg1302.html

Memory usage by Javier Terceiro - June 11, 2008

Hello list,I am designed a new software. I am using threads. The operation iscorrect, but memory consumption is excessive. The system is using 100MB and when the software is working, 500 Mb. The memory is notreleased, whyThe source code is:-----------------------------------------------------------------------------!usrbinperl -wuse strict;use warnings;use AnyData;use Sys::Syslog;use Sys::Syslog qw(:DEFAULT setlogsock);use Sys::Syslog qw(:standard :macros);use POSIX qw(setsid);use threads;use...
http://www.nntp.perl.org/group/perl.ithreads/2008/06/msg1301.html

Re: thread hash bug by Jerry D. Hedden - June 4, 2008

Wong, Danny H. wrote:> I&39;m trying to created a hash of array inside a thread, but the hash> loses all its keysvalues when leaving the function. Is there a bug in> using a hash inside a thread Any ideas1. use strict;2. use warnings;3. Read &39;perldoc threads::shared&39;
http://www.nntp.perl.org/group/perl.ithreads/2008/06/msg1300.html

thread hash bug by Wong, Danny H. - June 4, 2008

Hi GURUS,I&39;m trying to created a hash of array inside a thread, but the hashloses all its keysvalues when leaving the function. Is there a bug inusing a hash inside a thread Any ideasforeach my $i ( 1..3)push (BUILD_THREADS, threads->create(&COPY, $i));foreach my $THREAD (BUILD_THREADS)my DATA = $THREAD->join();sub COPYmy ($i) = _;copy ( $SOURCE, "$DESTINATION_$i");push $STORE_BUILD_RESULTS"flintstones", "$DESTINATION_$i";while ( my ($KEY, $VALUE) =...
http://www.nntp.perl.org/group/perl.ithreads/2008/06/msg1299.html
Available Archives
- April (12 items)
- May (22 items)
- June (6 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact