but number of oks is not.
p4raw-id: //depot/perl@16212
print "1..26\n";
+my $test : share = 1;
+
sub reader {
my $tid = threads->self->tid;
my $i = 0;
$i++;
# print "reader (tid $tid): waiting for element $i...\n";
my $el = $q->dequeue;
- print "ok\n";
+ print "ok $test\n"; $test++;
# print "reader (tid $tid): dequeued element $i: value $el\n";
select(undef, undef, undef, rand(1));
if ($el == -1) {
# print "waiting for join\n";
$_->join();
}
-print "ok\n";
+print "ok $test\n";