diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-07-12 23:44:17 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-07-12 23:44:17 +0000 |
commit | 83272a45226e83bd136d713158e9b44ace2dbc8d (patch) | |
tree | ee348b24fc5020ccd9e375cef8a5eb8e2bcd3d77 /lib/Thread/Semaphore.t | |
parent | 484fdf61e8653b10160ba1e8011888f52ab6825a (diff) | |
download | perl-83272a45226e83bd136d713158e9b44ace2dbc8d.tar.gz |
threads::shared::queue and semaphore become Thread::Semaphore
and Queue. The 5005threads case where the old Semaphore and
Queue.pm (they are disguised as .pmx) should get magically
installed instead has not been tested.
p4raw-id: //depot/perl@17509
Diffstat (limited to 'lib/Thread/Semaphore.t')
-rw-r--r-- | lib/Thread/Semaphore.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/Thread/Semaphore.t b/lib/Thread/Semaphore.t new file mode 100644 index 0000000000..14687e0b22 --- /dev/null +++ b/lib/Thread/Semaphore.t @@ -0,0 +1,17 @@ +use warnings; + +BEGIN { + chdir 't' if -d 't'; + push @INC ,'../lib'; + require Config; import Config; + unless ($Config{'useithreads'}) { + print "1..0 # Skip: no ithreads\n"; + exit 0; + } +} + +print "1..1\n"; +use threads; +use Thread::Semaphore; +print "ok 1\n"; + |