From b7c53a4307295fdfce89536c87cf342b3de527fb Mon Sep 17 00:00:00 2001 From: Ben Goldberg <ben-goldberg@hotmail.com> Date: Mon, 9 Jun 2014 21:26:25 -0400 Subject: [PATCH] Update Thread.pm Replaced recommendation to use 'threads', with a statement that the documentation for the new thread model is in 'threads'. Since threads.pm is now discouraged, recommending that one switch from Thread.pm to threads.pm is silly. --- lib/Thread.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Thread.pm b/lib/Thread.pm index dbe0719bf5a7..1f8ae1ebd9ab 100644 --- a/lib/Thread.pm +++ b/lib/Thread.pm @@ -35,7 +35,7 @@ __END__ =head1 NAME -Thread - Manipulate threads in Perl (for old code only) +Thread - Manipulate threads in Perl (for ancient code only) =head1 DEPRECATED @@ -51,9 +51,8 @@ different, and anything to do with data sharing has to be thought differently. With I<ithreads>, you must explicitly C<share()> variables between the threads. -You are strongly encouraged to migrate any existing threaded code to the new -model (i.e., use the C<threads> and C<threads::shared> modules) as soon as -possible. +The interface to the new threading model is L<threads>; please read that +document for discussion of the merits and disadvantages of threads in perl. =head1 HISTORY