projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
The thread warnings aren't quite yet working as planned.
[p5sagit/p5-mst-13.2.git]
/
ext
/
threads
/
shared
/
t
/
semaphore.t
1
use warnings;
2
3
BEGIN {
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
13
print "1..1\n";
14
use threads;
15
use threads::shared::semaphore;
16
print "ok 1\n";
17