created.... so we cannot ok() inside the threadstarter.
p4raw-id: //depot/perl@12227
sub test9 {
my $i = shift;
- ok($i,1,"Multiple thread test");
for(1..20000) { $i++};
}
my @threads;
for(3..33) {
+ ok($_,1,"Multiple thread test");
push @threads ,threads->create('test9',$_);
}
sleep 1;