Thanks Liz, good article,
 but I didn't find an explanation to my problem!?!

To explain my problem a little bit more:
It is exactly the same threaded program running on the same data that
sometimes take 4 seconds to start, and sometimes 3 minutes!
The threading takes place in the beginning of the program and always in
the same way.

Is there any logical reason to way each thread is created in a fraction of
a second during one start of the program and then each takes 30 seconds at
another start of the program. Never in between - its either very quick or
very slow!

???
/anders


Elizabeth Mattijsen wrote:

> At 19:58 +0000 2/22/04, [EMAIL PROTECTED] (PerlDiscuss - 
> Perl Newsgroups and wrote:
> >I have a program with 6 threads.
> >At a normal start of the program all is up and running in 4 seconds, BUT
> >often it takes 3 minutes!?!
> >What happens is that each "threads->create(" takes about 30 seconds to
> >...
> >...

> Check out my article "Things you need to know before programming Perl
ithreads"
>    http://www.perlmonks.org/index.pl?node_id=288022
> Liz


Reply via email to