Here's another dependency for my attempt at porting Slic3r.
Perl from base has no threading support, but tools depending on this
may simply `use forks;' as drop in replacement - thanks afresh1.
Generated with `portgen p5 forks', only tweaks were using "devel" in
CATEGORIES, adding "c" to WANTLIB and using upstream's README as DESCR,
which portgen(1) made the same as COMMENT.
Slic3r is happy with this, tests on amd64
All tests successful.
Files=14, Tests=396, 221 wallclock secs ( 0.15 usr 0.26 sys + 9.99
cusr 6.08 csys = 16.48 CPU)
Result: PASS
OK?
Information for inst:p5-forks-0.36
Comment:
forks - emulate threads with fork
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).
Maintainer: The OpenBSD ports mailing-list <[email protected]>
WWW: http://search.cpan.org/dist/forks/