Subject: Patch to add threads to Perl5.003
From: [email-masked] (Eric Arnold Anderson)
Date: 3 Feb 1997 02:33:26 GMT
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc

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