BSD Ports

devel/p5-forks 0.36nb12 NetBSD

Drop-in replacement for Perl threads using fork()

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
65.3 KiB, 309.7 KiB installed

Description

The forks.pm module is a drop-in replacement for threads.pm. It has the same syntax as the threads.pm module (it even takes over its namespace) but has some significant differences:

  • you do _not_ need a special (threaded) version of Perl
  • it is _much_ more economic with memory usage on OS's that support COW
  • it is more efficient in the startup of threads
  • it is slightly less efficient in the stopping of threads
  • it is less efficient in inter-thread communication

If for nothing else, it allows you to use the Perl threading model in non-threaded Perl builds and in older versions of Perl (5.6.0 and higher are supported).

In the other systems

The newest version among them is 0.36, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-forks0.36nb12 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-forks0.36_2 newestnone known-[email protected]-
OpenBSDdevel/p5-forks0.36p2 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/p5-forks0.36_2 newestnone known-[email protected]-
HardenedBSDdevel/p5-forks0.36_2 newestno data-[email protected]-
GhostBSDdevel/p5-forks0.36_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-forks

From pkgsrc:

cd /usr/pkgsrc/devel/p5-forks && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.36nb12
NetBSD 10.1 aarch640.36nb12
SmartOS / illumos x86_640.36nb12
macOS 15 arm640.36nb12

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 5
Required by 2

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0