The thread warnings aren't quite yet working as planned.
[p5sagit/p5-mst-13.2.git] / ext / threads / shared / t / semaphore.t
CommitLineData
13c1b207 1use warnings;
2
fb4ae831 3BEGIN {
4 chdir 't' if -d 't';
5 push @INC ,'../lib';
6 require Config; import Config;
7 unless ($Config{'useithreads'}) {
8 print "1..0 # Skip: no threads\n";
9 exit 0;
10 }
11}
12
d79f67b6 13print "1..1\n";
14use threads;
15use threads::shared::semaphore;
16print "ok 1\n";
17