Port details on branch 2022Q2 |
- p5-forks Drop-in replacement for Perl threads using fork()
- 0.36_2 devel =1 0.36_2Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2006-11-07 03:02:54
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: p5-Net-HTTP, screen, rpm2cpio, p5-Net-Domain-TLD
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/forks
- Description:
- The "forks" pragma allows a developer to use threads without having to
have a threaded perl, or to even run 5.8.0 or higher. There were a number
of goals that I am trying to reach with this implementation.
The standard Perl 5.8.0 threads implementation is very memory consuming,
which makes it basically impossible to use in a production environment,
particularly with mod_perl and Apache. Because of the use of the standard
Unix fork() capabilities, most operating systems will be able to use the
Copy-On-Write (COW) memory sharing capabilities (whereas with the standard
Perl 5.8.0 threads implementation, this is thwarted by the Perl interpreter
cloning process that is used to create threads). The memory savings have
been confirmed.
You should be able to run threaded applications unchanged by simply making
sure that the "forks" and "forks::shared" modules are loaded,
e.g. by specifying them on the command line.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-forks>0:devel/p5-forks
- To install the port:
- cd /usr/ports/devel/p5-forks/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-forks
- pkg install p5-forks
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-forks
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (forks-0.36.tar.gz) = 61be24e44f4c6fea230e8354678beb5b7adcfefd909a47db8f0a251b0ab65993
SIZE (forks-0.36.tar.gz) = 111143
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Acme-Damn>=0 : devel/p5-Acme-Damn
- p5-Attribute-Handlers>=0 : devel/p5-Attribute-Handlers
- p5-Devel-Symdump>=0 : devel/p5-Devel-Symdump
- p5-List-MoreUtils>= : lang/p5-List-MoreUtils
- p5-Sys-SigAction>=0.11 : devel/p5-Sys-SigAction
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Acme-Damn>=0 : devel/p5-Acme-Damn
- p5-Attribute-Handlers>=0 : devel/p5-Attribute-Handlers
- p5-Devel-Symdump>=0 : devel/p5-Devel-Symdump
- p5-List-MoreUtils>= : lang/p5-List-MoreUtils
- p5-Sys-SigAction>=0.11 : devel/p5-Sys-SigAction
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Run
-
- graphics/npretty
- security/maia
Configuration Options:
- No options to configure
- Options name:
- devel_p5-forks
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|