tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Narendra Ra\[a\]vi" <narendra () spiff ! hr ! att ! com>
To: tru64-unix-managers
Subject: SUMMARY+UPDATE+NEW QUESTION: Perl 5 setld kit?? Where?
Date: Thu, 26 Oct 2000 20:13:13 +0000	[thread overview]
Message-ID: <97259128500888.tru64-unix-managers.marc@archive.invalid> (raw)


> 
> 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@spiff.hr.att.com
    MT  A4-4B27       Phone : 732-420-7792

                 reply	other threads:[~2000-10-26 20:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox