| 1 |
README for forks |
| 2 |
|
| 3 |
Version: |
| 4 |
0.36 |
| 5 |
|
| 6 |
The forks.pm module is a drop-in replacement for threads.pm. It has the |
| 7 |
same syntax as the threads.pm module (it even takes over its namespace) but |
| 8 |
has some significant differences: |
| 9 |
|
| 10 |
- you do _not_ need a special (threaded) version of Perl |
| 11 |
- it is _much_ more economic with memory usage on OS's that support COW |
| 12 |
- it is more efficient in the startup of threads |
| 13 |
- it is slightly less efficient in the stopping of threads |
| 14 |
- it is less efficient in inter-thread communication |
| 15 |
|
| 16 |
If for nothing else, it allows you to use the Perl threading model in |
| 17 |
non-threaded Perl builds and in older versions of Perl (5.6.0 and |
| 18 |
higher are supported). |
| 19 |
|
| 20 |
Copyright (c) |
| 21 |
2005-2008 Eric Rybski <[email protected]>, |
| 22 |
2002-2004 Elizabeth Mattijsen <[email protected]>. |
| 23 |
All rights reserved. This program is free software; you can redistribute it |
| 24 |
and/or modify it under the same terms as Perl itself. |
| 25 |
|
| 26 |
Required Modules: |
| 27 |
Acme::Damn (any) |
| 28 |
Attribute::Handlers (any) |
| 29 |
Devel::Symdump (any) |
| 30 |
File::Spec (any) |
| 31 |
if (any) |
| 32 |
IO::Socket (1.18) |
| 33 |
List::MoreUtils (0.15) |
| 34 |
Scalar::Util (1.11) |
| 35 |
Storable (any) |
| 36 |
Sys::SigAction (0.11) |
| 37 |
Test::More (any) |
| 38 |
Time::HiRes (any) |
| 39 |
|
| 40 |
The build is standard: |
| 41 |
|
| 42 |
perl Makefile.PL |
| 43 |
make |
| 44 |
make test |
| 45 |
make install |