Mailing List Archive

[PATCH] minor threading notes
Hi, the text says you need perl 5.8.1 to use threads, but the perl
command uses 5.8.0.

[snip]
Require at least Perl version 5.8.0 with ithreads support built-in. That
means that it should report:

% perl5.8.0 -V:useithreads -V:usemultiplicity
useithreads='define';
usemultiplicity='define';#

If that's not what you see rebuild Perl with -Dusethreads.
o threads.pm

If you want to run applications that take benefit of Perl's threads.pm
Perl version 5.8.1 or higher w/ithreads enabled is required. Perl
5.8.0's threads.pm doesn't work with mod_perl 2.0.
[snip]


Heres a patch that fixes that

Index: user/install/install.pod
===================================================================
--- user/install/install.pod (revision 160264)
+++ user/install/install.pod (working copy)
@@ -41,7 +41,7 @@
You don't need to have threads-support enabled in Perl. If you do have
it, it B<must> be I<ithreads> and not I<5005threads>! If you have:

- % perl5.8.0 -V:use5005threads
+ % perl5.8.1 -V:use5005threads
use5005threads='define';

you must rebuild Perl without threads enabled or with

--
END
------------------------------------------------------------------------------

Philip M. Gollucci
Consultant
E-Mail: pgollucci@p6m7g8.com
URL : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.254.5198

$Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org
Re: [PATCH] minor threading notes [ In reply to ]
> Index: user/install/install.pod
> ===================================================================
> --- user/install/install.pod (revision 160264)ly
> +++ user/install/install.pod (working copy)
> @@ -41,7 +41,7 @@
> You don't need to have threads-support enabled in Perl. If you do have
> it, it B<must> be I<ithreads> and not I<5005threads>! If you have:
>
> - % perl5.8.0 -V:use5005threads
> + % perl5.8.1 -V:use5005threads
> use5005threads='define';
>
> you must rebuild Perl without threads enabled or with
>
I might have to take that back.... its slightly confusing
If I re-read it correctly:
threaded mpms need perl 5.8.0+ w/ithreads

threads.pm needs perl 5.8.1+ w/ithreads

sorry about that.

--
END
------------------------------------------------------------------------------

Philip M. Gollucci
Consultant
E-Mail: pgollucci@p6m7g8.com
URL : http://p6m7g8.net/Resume/resume.shtml
Phone : 301.254.5198

$Id: .signature,v 1.7 2004/09/05 23:46:37 philip Exp $


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org