devel/p5-forks 0.36p2 OpenBSD
forks - emulate threads with fork
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/p5-forks | 0.36p2 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| FreeBSD | devel/p5-forks | 0.36_2 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-forks | 0.36nb12 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-forks | 0.36_2 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-forks | 0.36_2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-forks | 0.36_2 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg_add p5-forks
From the ports tree:
cd /usr/ports/devel/p5-forks && make install
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 4
No port depends on this one.