p5-forks - Drop-in replacement for Perl threads using fork()

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest i386
Package filename p5-forks-0.36_2.txz
Package name p5-forks
Package version 0.36
Package release 2
Package architecture i386
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/forks
License GPLv1+, ART10
Maintainer perl@FreeBSD.org
Download size 84.45 KB
Installed size 278.11 KB
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.
WWW: https://metacpan.org/release/forks


Package Version Architecture Repository
p5-forks-0.36_2.txz 0.36 i386 FreeBSD Ports Quarterly
p5-forks-0.36_2.txz 0.36 amd64 FreeBSD Ports Quarterly
p5-forks-0.36_2.txz 0.36 amd64 FreeBSD Ports Latest
p5-forks - - -


Name Value
libperl.so.5.28 -
p5-Acme-Damn = 0.06
p5-Attribute-Handlers = 0.99
p5-Devel-Symdump = 2.1800
p5-List-MoreUtils = 0.428
p5-Sys-SigAction = 0.23
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-forks-0.36_2.txz
Source Package devel/p5-forks

Install Howto

Install p5-forks txz package:

# pkg install p5-forks

See Also

Package Description
p5-github_creator-0.15_1.txz Create a Github repository for your Perl module
p5-goto-file-0.005.txz Stop parsing the current file and move on to a different one
p5-iCal-Parser-1.20_1.txz Parse iCalendar files into a data structure
p5-indirect-0.33.txz Lexically warn about using the indirect object syntax
p5-interface-0.03_1.txz Simple compile time interface checking for OO Perl
p5-ip2location-perl-20180302.txz Perl module to find user\'s location
p5-jQuery-File-Upload-0.30_2.txz Perl extension for jQuery File Upload plugin
p5-jmx4perl-1.11_3.txz JMX access for Perl
p5-latest-0.03_2.txz Use the latest Perl features
p5-ldap2pf-20170424.txz Create and update PF tables from LDAP groups
p5-ldap2pw-20170922.txz Synchronize local user database with LDAP directory
p5-lexical-underscore-0.004.txz Access lexical underscore of your caller
p5-lib-abs-0.92_1.txz Relative use lib in absolute way
p5-libalarm-1.0_2.txz Allow multiple, queued alarms
p5-libapreq2-2.13_6.txz Perl binding for the Generic Apache2 Request Library