| 1 |
README for Thread::Queue::Any |
| 2 |
|
| 3 |
Almost drop-in replacement for Thread::Queue that allows any (unshared) |
| 4 |
data-structure to be passed between threads by means of a queue. |
| 5 |
|
| 6 |
*** A note of CAUTION *** |
| 7 |
|
| 8 |
This module only functions if threading has been enabled when building |
| 9 |
Perl, or if the "forks" module has been installed on an unthreaded Perl. |
| 10 |
|
| 11 |
************************* |
| 12 |
|
| 13 |
Copyright (c) 2002, 2003, 2007, 2012 Elizabeth Mattijsen <[email protected]>. |
| 14 |
All rights reserved. This program is free software; you can redistribute it |
| 15 |
and/or modify it under the same terms as Perl itself. |
| 16 |
|
| 17 |
Version: |
| 18 |
1.14 |
| 19 |
|
| 20 |
Required Modules: |
| 21 |
Test::More (0.88) |
| 22 |
Thread::Queue (any) |
| 23 |
|
| 24 |
Installation: |
| 25 |
This distribution contains two versions of the code: one maintenance version |
| 26 |
for versions of perl < 5.014 (known as 'maint'), and the version currently in |
| 27 |
development (known as 'blead'). The standard build for your perl version is: |
| 28 |
|
| 29 |
perl Makefile.PL |
| 30 |
make |
| 31 |
make test |
| 32 |
make install |
| 33 |
|
| 34 |
This will try to test and install the "blead" version of the code. If the |
| 35 |
Perl version does not support the "blead" version, then the running of the |
| 36 |
Makefile.PL will *fail*. In such a case, one can force the installing of |
| 37 |
the "maint" version of the code by doing: |
| 38 |
|
| 39 |
perl Makefile.PL maint |
| 40 |
|
| 41 |
Alternately, if you want automatic selection behavior, you can set the |
| 42 |
AUTO_SELECT_MAINT_OR_BLEAD environment variable to a true value. On Unix-like |
| 43 |
systems like so: |
| 44 |
|
| 45 |
AUTO_SELECT_MAINT_OR_BLEAD=1 perl Makefile.PL |
| 46 |
|
| 47 |
If your perl does not support the "blead" version of the code, then it will |
| 48 |
automatically install the "maint" version of the code. |
| 49 |
|
| 50 |
Please note that any additional parameters will simply be passed on to the |
| 51 |
underlying Makefile.PL processing. |
| 52 |
|
| 53 |
|