Path: usenet.cise.ufl.edu!usenet.ufl.edu!news.fsu.edu!gatech!csulb.edu!hammer.uoregon.edu!news.mathworks.com!uunet!in1.uu.net!192.108.254.3!news.teleport.com!not-for-mail
From:
[email protected] (Eric Arnold Anderson)
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc
Subject: Patch to add threads to Perl5.003
Followup-To: comp.lang.perl.misc
Date: 3 Feb 1997 02:33:26 GMT
Organization: University of California, Berkeley
Lines: 30
Sender:
[email protected]
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
NNTP-Posting-Host: gadget.cscaper.com
Keywords: Perl, Threads
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:102 comp.lang.perl.misc:16879
I've created a patch that adds threads to Perl5.003; since this
requires that the interpreter and any extensions are recompiled, and
since it hasn't been extensively tested, I haven't submitted it yet to
CPAN, and am just making it available from a web page. The web page
is: <
http://www.cs.berkeley.edu/~eanders/thrperl/>; since we've been
having some trouble with file servers, you may also try the reference
<
http://now.cs.berkeley.edu/~eanders/thrperl/>. The release notes
from the patch are included below.
-Eric
Release Notes: This patch file adds threading to perl5.003; it creates
threading V0.2 Two modifications need to be made to config.sh files
from the ones used to build the normal version of perl. 1)
-DWITH_THREADING needs to be added to the ccflags= line in config.sh;
2) Thread needs to be added to the dynamic_ext and extensions liens in
config.sh. ***IMPORTANT*** Threading turns on the multiplicity option
in the interpreter. This means that threaded perl is incompatible
with any extensions you may have already compiled (they have to be
recompiled) Furthermore, threading produces some slight performance
hit when threading is turned off, and a more substantial (but as yet
unquantified) performance hit when you use threads. The reasons are
documented in the Threads manpage. This patch file can be applied by
cd'ing into a perl5.003 directory and typing patch -p1 <patch_file_name
--
**************************************************
1996 is the Year of the Rat; people born in the Year of
the Rat are smart and diligent, previous years were
1984,1972, ...