chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
- if ($Config{'ccflags'} !~ /USE_THREADS\b/) {
+ if (! $Config{'usethreads'}) {
print "1..0\n";
exit 0;
}
# test that sleep lets other thread run
$t = new Thread \&islocked,"ok 8\n";
sleep 6;
-print "ok 9";
+print "ok 9\n";
join $t;