>
> Managers,
>
> Is there a Perl 5 setld kit available for download? Any version after Perl
> 5.004 is fine.
>
> Thank you,
Perl 5.004_1 is on the freeware CD. Also at
http://www.tru64unix.compaq.com/demos/index.html
Thanks to
Alan Davis
Steve Smith
Bill Melvin
David Hull
BTW, has anyone compiled the Threaded version of Perl 5.6 on V4.0F?
If so, could that someone test the following program for me and let me
know if the program runs fine given the limits set by the kernel
parameters?
On a different platform, it dumps core after creating N threads. N varies
from 20 to 180 or more. Also gives an internal memory misalignment error.
#!/opt/perl5/bin/perl -w
use strict;
#use diagnostics;
use FileHandle;
use Thread;
my $i=0;
my $thr;
autoflush STDOUT 1;
while(1){
foreach (1..10){
if($thr=Thread->new(\&handleConn, $i)){
$thr->detach;
}else{
print "NO THREAD\n";
die;
}
print "main ",scalar localtime, " $i", "\n";
$i++;
}
sleep 6;
}
sub handleConn
{
my $tid=shift;
print "mee $tid\n";
}
--
-- Narendra Ravi Email : narendra_at_spiff.hr.att.com
MT A4-4B27 Phone : 732-420-7792
Received on Thu Oct 26 2000 - 20:15:04 NZDT