9b4e4c
From 0bb2d0b00e011f1d77d1766fac4777c6bc376af7 Mon Sep 17 00:00:00 2001
9b4e4c
From: Jitka Plesnikova <jplesnik@redhat.com>
9b4e4c
Date: Mon, 1 Jun 2020 13:23:16 +0200
9b4e4c
Subject: [PATCH] Upgrade to 2.25
9b4e4c
9b4e4c
---
9b4e4c
 lib/threads.pm | 22 +++++++++++-----------
9b4e4c
 threads.xs     |  2 +-
9b4e4c
 2 files changed, 12 insertions(+), 12 deletions(-)
9b4e4c
9b4e4c
diff --git a/lib/threads.pm b/lib/threads.pm
9b4e4c
index 1b99567..ee201a2 100644
9b4e4c
--- a/lib/threads.pm
9b4e4c
+++ b/lib/threads.pm
9b4e4c
@@ -5,7 +5,7 @@ use 5.008;
9b4e4c
 use strict;
9b4e4c
 use warnings;
9b4e4c
 
9b4e4c
-our $VERSION = '2.22';      # remember to update version in POD!
9b4e4c
+our $VERSION = '2.25';      # remember to update version in POD!
9b4e4c
 my $XS_VERSION = $VERSION;
9b4e4c
 $VERSION = eval $VERSION;
9b4e4c
 
9b4e4c
@@ -134,13 +134,13 @@ threads - Perl interpreter-based threads
9b4e4c
 
9b4e4c
 =head1 VERSION
9b4e4c
 
9b4e4c
-This document describes threads version 2.21
9b4e4c
+This document describes threads version 2.25
9b4e4c
 
9b4e4c
 =head1 WARNING
9b4e4c
 
9b4e4c
 The "interpreter-based threads" provided by Perl are not the fast, lightweight
9b4e4c
 system for multitasking that one might expect or hope for.  Threads are
9b4e4c
-implemented in a way that make them easy to misuse.  Few people know how to
9b4e4c
+implemented in a way that makes them easy to misuse.  Few people know how to
9b4e4c
 use them correctly or will be able to provide help.
9b4e4c
 
9b4e4c
 The use of interpreter-based threads in perl is officially
9b4e4c
@@ -914,7 +914,7 @@ C<-E<gt>import()>) after any threads are started, and in such a way that no
9b4e4c
 other threads are started afterwards.
9b4e4c
 
9b4e4c
 If the above does not work, or is not adequate for your application, then file
9b4e4c
-a bug report on L<http://rt.cpan.org/Public/> against the problematic module.
9b4e4c
+a bug report on L<https://rt.cpan.org/Public/> against the problematic module.
9b4e4c
 
9b4e4c
 =item Memory consumption
9b4e4c
 
9b4e4c
@@ -1090,7 +1090,7 @@ determine whether your system supports it.
9b4e4c
 
9b4e4c
 In prior perl versions, spawning threads with open directory handles would
9b4e4c
 crash the interpreter.
9b4e4c
-L<[perl #75154]|http://rt.perl.org/rt3/Public/Bug/Display.html?id=75154>
9b4e4c
+L<[perl #75154]|https://rt.perl.org/rt3/Public/Bug/Display.html?id=75154>
9b4e4c
 
9b4e4c
 =item Detached threads and global destruction
9b4e4c
 
9b4e4c
@@ -1118,8 +1118,8 @@ unreferenced scalars.  However, such warnings are harmless, and may safely be
9b4e4c
 ignored.
9b4e4c
 
9b4e4c
 You can search for L<threads> related bug reports at
9b4e4c
-L<http://rt.cpan.org/Public/>.  If needed submit any new bugs, problems,
9b4e4c
-patches, etc. to: L<http://rt.cpan.org/Public/Dist/Display.html?Name=threads>
9b4e4c
+L<https://rt.cpan.org/Public/>.  If needed submit any new bugs, problems,
9b4e4c
+patches, etc. to: L<https://rt.cpan.org/Public/Dist/Display.html?Name=threads>
9b4e4c
 
9b4e4c
 =back
9b4e4c
 
9b4e4c
@@ -1137,14 +1137,14 @@ L<https://github.com/Dual-Life/threads>
9b4e4c
 
9b4e4c
 L<threads::shared>, L<perlthrtut>
9b4e4c
 
9b4e4c
-L<http://www.perl.com/pub/a/2002/06/11/threads.html> and
9b4e4c
-L<http://www.perl.com/pub/a/2002/09/04/threads.html>
9b4e4c
+L<https://www.perl.com/pub/a/2002/06/11/threads.html> and
9b4e4c
+L<https://www.perl.com/pub/a/2002/09/04/threads.html>
9b4e4c
 
9b4e4c
 Perl threads mailing list:
9b4e4c
-L<http://lists.perl.org/list/ithreads.html>
9b4e4c
+L<https://lists.perl.org/list/ithreads.html>
9b4e4c
 
9b4e4c
 Stack size discussion:
9b4e4c
-L<http://www.perlmonks.org/?node_id=532956>
9b4e4c
+L<https://www.perlmonks.org/?node_id=532956>
9b4e4c
 
9b4e4c
 Sample code in the I<examples> directory of this distribution on CPAN.
9b4e4c
 
9b4e4c
diff --git a/threads.xs b/threads.xs
9b4e4c
index 3da9165..ab64dc0 100644
9b4e4c
--- a/threads.xs
9b4e4c
+++ b/threads.xs
9b4e4c
@@ -676,7 +676,7 @@ S_ithread_run(void * arg)
9b4e4c
     }
9b4e4c
 
9b4e4c
     /* At this point, the interpreter may have been freed, so call
9b4e4c
-     * free in the the context of of the 'main' interpreter which
9b4e4c
+     * free in the context of the 'main' interpreter which
9b4e4c
      * can't have been freed due to the veto_cleanup mechanism.
9b4e4c
      */
9b4e4c
     aTHX = MY_POOL.main_thread.interp;
9b4e4c
-- 
9b4e4c
2.25.4
9b4e4c