Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (0m)  pkgsrc-2024Q1 (8d)  pkgsrc-2023Q4 (55d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (167d) 

2024-05-26 12:45:27 UTC Now

2015-05-08 15:09:25 UTC MAIN commitmail json YAML

Import p5-forks-0.36 as devel/p5-forks.

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).

(wiz)