From: Nicholas Clark Date: Sun, 30 Aug 2009 20:09:32 +0000 (+0100) Subject: Move Thread::Queue from lib to ext X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c05f16440beb8d0347806f494181540074c7471;p=p5sagit%2Fp5-mst-13.2.git Move Thread::Queue from lib to ext --- diff --git a/MANIFEST b/MANIFEST index e84df2a..f318632 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1578,6 +1578,15 @@ ext/Text-Soundex/README README for Text::Soundex ext/Text-Soundex/Soundex.pm Text::Soundex extension Perl module ext/Text-Soundex/Soundex.xs Text::Soundex extension external subroutines ext/Text-Soundex/t/Soundex.t test for Text::Soundex +ext/Thread-Queue/lib/Thread/Queue.pm Thread-safe queues +ext/Thread-Queue/t/01_basic.t Thread::Queue tests +ext/Thread-Queue/t/02_refs.t Thread::Queue tests +ext/Thread-Queue/t/03_peek.t Thread::Queue tests +ext/Thread-Queue/t/04_errs.t Thread::Queue tests +ext/Thread-Queue/t/05_extract.t Thread::Queue tests +ext/Thread-Queue/t/06_insert.t Thread::Queue tests +ext/Thread-Queue/t/07_lock.t Thread::Queue tests +ext/Thread-Queue/t/08_nothreads.t Thread::Queue tests ext/threads/hints/hpux.pl Hint file for HPUX ext/threads/hints/linux.pl Hint file for Linux ext/threads/Makefile.PL ithreads @@ -3312,15 +3321,6 @@ lib/Text/TabsWrap/t/wrap_separator2.t See if Text::Wrap::wrap works lib/Text/TabsWrap/t/wrap.t See if Text::Wrap::wrap works lib/Text/Wrap.pm Paragraph formatter lib/Thread.pm Thread extensions frontend -lib/Thread/Queue.pm Thread-safe queues -lib/Thread/Queue/t/01_basic.t Thread::Queue tests -lib/Thread/Queue/t/02_refs.t Thread::Queue tests -lib/Thread/Queue/t/03_peek.t Thread::Queue tests -lib/Thread/Queue/t/04_errs.t Thread::Queue tests -lib/Thread/Queue/t/05_extract.t Thread::Queue tests -lib/Thread/Queue/t/06_insert.t Thread::Queue tests -lib/Thread/Queue/t/07_lock.t Thread::Queue tests -lib/Thread/Queue/t/08_nothreads.t Thread::Queue tests lib/Thread/Semaphore.pm Thread-safe semaphores lib/Thread/Semaphore/t/01_basic.t Thread::Semaphore tests lib/Thread/Semaphore/t/02_errs.t Thread::Semaphore tests diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 2bdf98b..7d5c3e2 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -1764,7 +1764,7 @@ package Maintainers; { 'MAINTAINER' => 'jdhedden', 'DISTRIBUTION' => 'JDHEDDEN/Thread-Queue-2.11.tar.gz', - 'FILES' => q[lib/Thread/Queue.pm lib/Thread/Queue], + 'FILES' => q[ext/Thread-Queue], 'EXCLUDED' => [ qw(examples/queue.pl t/00_load.t t/99_pod.t diff --git a/ext/.gitignore b/ext/.gitignore index 3ae85bc..71d2fea 100644 --- a/ext/.gitignore +++ b/ext/.gitignore @@ -42,6 +42,7 @@ ppport.h /Text-Balanced/Makefile.PL /Text-ParseWords/Makefile.PL /Text-Soundex/Makefile.PL +/Thread-Queue/Makefile.PL # ignore all vim swap files but the one bundled in Module::Pluggable for testing *.swp diff --git a/lib/Thread/Queue.pm b/ext/Thread-Queue/lib/Thread/Queue.pm similarity index 100% rename from lib/Thread/Queue.pm rename to ext/Thread-Queue/lib/Thread/Queue.pm diff --git a/lib/Thread/Queue/t/01_basic.t b/ext/Thread-Queue/t/01_basic.t similarity index 100% rename from lib/Thread/Queue/t/01_basic.t rename to ext/Thread-Queue/t/01_basic.t diff --git a/lib/Thread/Queue/t/02_refs.t b/ext/Thread-Queue/t/02_refs.t similarity index 100% rename from lib/Thread/Queue/t/02_refs.t rename to ext/Thread-Queue/t/02_refs.t diff --git a/lib/Thread/Queue/t/03_peek.t b/ext/Thread-Queue/t/03_peek.t similarity index 100% rename from lib/Thread/Queue/t/03_peek.t rename to ext/Thread-Queue/t/03_peek.t diff --git a/lib/Thread/Queue/t/04_errs.t b/ext/Thread-Queue/t/04_errs.t similarity index 100% rename from lib/Thread/Queue/t/04_errs.t rename to ext/Thread-Queue/t/04_errs.t diff --git a/lib/Thread/Queue/t/05_extract.t b/ext/Thread-Queue/t/05_extract.t similarity index 100% rename from lib/Thread/Queue/t/05_extract.t rename to ext/Thread-Queue/t/05_extract.t diff --git a/lib/Thread/Queue/t/06_insert.t b/ext/Thread-Queue/t/06_insert.t similarity index 100% rename from lib/Thread/Queue/t/06_insert.t rename to ext/Thread-Queue/t/06_insert.t diff --git a/lib/Thread/Queue/t/07_lock.t b/ext/Thread-Queue/t/07_lock.t similarity index 100% rename from lib/Thread/Queue/t/07_lock.t rename to ext/Thread-Queue/t/07_lock.t diff --git a/lib/Thread/Queue/t/08_nothreads.t b/ext/Thread-Queue/t/08_nothreads.t similarity index 100% rename from lib/Thread/Queue/t/08_nothreads.t rename to ext/Thread-Queue/t/08_nothreads.t diff --git a/lib/.gitignore b/lib/.gitignore index 91536f5..bcce1b3 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -83,6 +83,7 @@ /Text/Balanced.pm /Text/ParseWords.pm /Text/Soundex.pm +/Thread/Queue.pm /Time/HiRes.pm /Time/Piece.pm /Time/Seconds.pm