We are trying to use:
1)      Apache 2.0.39 compiled with the option --with-mpm=worker
2)      with modperl 2.0
under Sun Solaris 2.8 with Perl 5.8 RC2.

Although everything seems to work fine, the creation of a custom worker
thread takes more or less 2 minutes.

Here below a section of the code used:

my $t1 = new Thread(\&my_thread,'t1');
my $t2 = new Thread(\&my_thread,'t2');

$t1->join();
$t2->join();

sub my_thread{
    my $name = shift;
    print "I’m $name\n "
    return "$name: done\n";
}

In the example above, each new thread call takes about 2 minutes.

Thanks for any help,

Lino
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Pasquale Pagano
CNR - Istituto di Elaborazione della Informazione
Via G. Moruzzi, 1 - 56124 Pisa,Italy
Area della Ricerca CNR di Pisa
Tel +39 050 3152891
E-mail: [EMAIL PROTECTED]
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Reply via email to