p5-threads-2.21.txz


Advertisement

Description

p5-threads - Perl interpreter-based threads

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-threads-2.21.txz
Package name p5-threads
Package version 2.21
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/threads
License GPLv1+, ART10
Maintainer perl@FreeBSD.org
Download size 40.11 KB
Installed size 91.22 KB
Perl 5.6 introduced something called interpreter threads. Interpreter
threads are different from 5005threads (the thread model of Perl 5.005)
by creating a new Perl interpreter per thread, and not sharing any
data or state between threads by default.
Prior to Perl 5.8, this has only been available to people embedding
Perl, and for emulating fork() on Windows.
The threads API is loosely based on the old Thread.pm API. It is very
important to note that variables are not shared between threads, all
variables are by default thread local. To use shared variables one
must use threads::shared.
It is also important to note that you must enable threads by doing use
threads as early as possible in the script itself, and that it is not
possible to enable threading inside an eval "", do, require, or use.
In particular, if you are intending to share variables with
threads::shared, you must use threads before you use threads::shared.
(threads will emit a warning if you do it the other way around.)
WWW: https://metacpan.org/release/threads

Alternatives

Package Version Architecture Repository
p5-threads-2.21.txz 2.21 i386 FreeBSD Ports Quarterly
p5-threads-2.21.txz 2.21 amd64 FreeBSD Ports Quarterly
p5-threads-2.21.txz 2.21 i386 FreeBSD Ports Latest
p5-threads - - -

Requires

Name Value
libperl.so.5.28 -
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-threads-2.21.txz
Source Package devel/p5-threads

Install Howto

Install p5-threads txz package:

# pkg install p5-threads

See Also

Package Description
p5-threads-shared-1.59.txz Share data structures between threads
p5-tokyotyrant-1.16_3.txz Perl5 interface to the TokyoTyrant
p5-transdecoder-5.4.0_2.txz Identify candidate coding regions within transcript sequences
p5-true-1.0.1.txz Automatically return a true value when a file is required
p5-type1inst-0.6.1_6.txz Script that helps install Postscript fonts in X Window System
p5-uni-perl-0.91_2.txz Modern perl with Unicode
p5-v6-0.047.txz Experimental compiler for Perl 6
p5-version-0.9924.txz Perl extension for Version Objects
p5-xmltv-0.5.70.txz Set of programs to process TV (tvguide) listings in XML format
p5-xmms2-0.8_3.txz Perl Bindings for XMMS2
p7zip-16.02_2.txz File archiver with high compression ratio
p7zip-codec-rar-16.02_1.txz RAR decoder codec for p7zip
p8-platform-2.1.0.1_2.txz Platform support library used by libCEC and binary add-ons for Kodi
p910nd-0.97.txz Port 9100+n printer daemon
pHash-0.9.6_14.txz Open source perceptual hash library
Advertisement
Advertisement