unshift @INC, '../lib';
require Config; import Config;
if (! $Config{'usethreads'}) {
- print "1..0\n";
+ print "1..0 # Skip: this perl is not threaded\n";
exit 0;
}
}
# create a thread passing args and immedaietly wait for it.
-my $t = new Thread \&content,("ok 2\n","ok 3\n");
+my $t = new Thread \&content,("ok 2\n","ok 3\n", 1..1000);
print $t->join;
# check that lock works ...