summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2020-08-03 19:30:05 +0200
committergregor herrmann <gregoa@debian.org>2020-08-03 19:30:05 +0200
commit26a43a0acfe5c464afd4a7e594d998707b4d0b4a (patch)
tree4262f1b03e3399c199fc9cddeae7e63d6c439ae5
parentddced8c9e32c256f98e6670f6838f3991bb35e44 (diff)
New upstream version 1.873
-rw-r--r--Changes9
-rw-r--r--META.json62
-rw-r--r--META.yml62
-rw-r--r--Makefile.PL62
-rw-r--r--README.md2
-rw-r--r--lib/MCE.pm2
-rw-r--r--lib/MCE.pod2
-rw-r--r--lib/MCE/Candy.pm4
-rw-r--r--lib/MCE/Channel.pm4
-rw-r--r--lib/MCE/Channel/Mutex.pm4
-rw-r--r--lib/MCE/Channel/Simple.pm4
-rw-r--r--lib/MCE/Channel/Threads.pm4
-rw-r--r--lib/MCE/Child.pm4
-rw-r--r--lib/MCE/Core.pod2
-rw-r--r--lib/MCE/Core/Input/Generator.pm4
-rw-r--r--lib/MCE/Core/Input/Handle.pm4
-rw-r--r--lib/MCE/Core/Input/Iterator.pm4
-rw-r--r--lib/MCE/Core/Input/Request.pm4
-rw-r--r--lib/MCE/Core/Input/Sequence.pm4
-rw-r--r--lib/MCE/Core/Manager.pm4
-rw-r--r--lib/MCE/Core/Validation.pm4
-rw-r--r--lib/MCE/Core/Worker.pm4
-rw-r--r--lib/MCE/Examples.pod2
-rw-r--r--lib/MCE/Flow.pm4
-rw-r--r--lib/MCE/Grep.pm4
-rw-r--r--lib/MCE/Loop.pm4
-rw-r--r--lib/MCE/Map.pm4
-rw-r--r--lib/MCE/Mutex.pm4
-rw-r--r--lib/MCE/Mutex/Channel.pm8
-rw-r--r--lib/MCE/Mutex/Channel2.pm4
-rw-r--r--lib/MCE/Mutex/Flock.pm4
-rw-r--r--lib/MCE/Queue.pm4
-rw-r--r--lib/MCE/Relay.pm4
-rw-r--r--lib/MCE/Signal.pm4
-rw-r--r--lib/MCE/Step.pm4
-rw-r--r--lib/MCE/Stream.pm4
-rw-r--r--lib/MCE/Subs.pm4
-rw-r--r--lib/MCE/Util.pm4
-rw-r--r--t/05_mce_child.t8
39 files changed, 169 insertions, 164 deletions
diff --git a/Changes b/Changes
index b25ffdc..1f8370a 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,13 @@
Revision history for Perl module MCE.
+1.873 Sat Aut 01 16:00:00 EST 2020
+
+ * Removed unused variable in MCE::Mutex::Channel.
+
+ * Fixed typo in prior change log.
+ Replaced "completed" with "feature complete".
+
1.872 Sun Jun 14 22:30:00 EST 2020
* Added open to required dependencies.
@@ -9,7 +16,7 @@ Revision history for Perl module MCE.
* Bumped minimal Perl version to 5.8.1.
* Bumped MCE version to 1.872 to align with MCE::Shared.
- * The MCE project is completed.
+ * The MCE project is feature complete.
1.868 Sun May 10 22:00:00 EST 2020
diff --git a/META.json b/META.json
index 11bc600..4416752 100644
--- a/META.json
+++ b/META.json
@@ -65,123 +65,123 @@
"provides" : {
"MCE" : {
"file" : "lib/MCE.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Candy" : {
"file" : "lib/MCE/Candy.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Channel" : {
"file" : "lib/MCE/Channel.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Channel::Mutex" : {
"file" : "lib/MCE/Channel/Mutex.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Channel::Simple" : {
"file" : "lib/MCE/Channel/Simple.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Channel::Threads" : {
"file" : "lib/MCE/Channel/Threads.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Child" : {
"file" : "lib/MCE/Child.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Input::Generator" : {
"file" : "lib/MCE/Core/Input/Generator.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Input::Handle" : {
"file" : "lib/MCE/Core/Input/Handle.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Input::Iterator" : {
"file" : "lib/MCE/Core/Input/Iterator.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Input::Request" : {
"file" : "lib/MCE/Core/Input/Request.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Input::Sequence" : {
"file" : "lib/MCE/Core/Input/Sequence.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Manager" : {
"file" : "lib/MCE/Core/Manager.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Validation" : {
"file" : "lib/MCE/Core/Validation.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Core::Worker" : {
"file" : "lib/MCE/Core/Worker.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Flow" : {
"file" : "lib/MCE/Flow.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Grep" : {
"file" : "lib/MCE/Grep.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Loop" : {
"file" : "lib/MCE/Loop.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Map" : {
"file" : "lib/MCE/Map.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Mutex" : {
"file" : "lib/MCE/Mutex.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Mutex::Channel" : {
"file" : "lib/MCE/Mutex/Channel.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Mutex::Channel2" : {
"file" : "lib/MCE/Mutex/Channel2.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Mutex::Flock" : {
"file" : "lib/MCE/Mutex/Flock.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Queue" : {
"file" : "lib/MCE/Queue.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Relay" : {
"file" : "lib/MCE/Relay.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Signal" : {
"file" : "lib/MCE/Signal.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Step" : {
"file" : "lib/MCE/Step.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Stream" : {
"file" : "lib/MCE/Stream.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Subs" : {
"file" : "lib/MCE/Subs.pm",
- "version" : "1.872"
+ "version" : "1.873"
},
"MCE::Util" : {
"file" : "lib/MCE/Util.pm",
- "version" : "1.872"
+ "version" : "1.873"
}
},
"release_status" : "stable",
@@ -197,5 +197,5 @@
"url" : "https://github.com/marioroy/mce-perl.git"
}
},
- "version" : "1.872"
+ "version" : "1.873"
}
diff --git a/META.yml b/META.yml
index 3c99a64..69e4423 100644
--- a/META.yml
+++ b/META.yml
@@ -25,94 +25,94 @@ no_index:
provides:
MCE:
file: lib/MCE.pm
- version: '1.872'
+ version: '1.873'
MCE::Candy:
file: lib/MCE/Candy.pm
- version: '1.872'
+ version: '1.873'
MCE::Channel:
file: lib/MCE/Channel.pm
- version: '1.872'
+ version: '1.873'
MCE::Channel::Mutex:
file: lib/MCE/Channel/Mutex.pm
- version: '1.872'
+ version: '1.873'
MCE::Channel::Simple:
file: lib/MCE/Channel/Simple.pm
- version: '1.872'
+ version: '1.873'
MCE::Channel::Threads:
file: lib/MCE/Channel/Threads.pm
- version: '1.872'
+ version: '1.873'
MCE::Child:
file: lib/MCE/Child.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Input::Generator:
file: lib/MCE/Core/Input/Generator.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Input::Handle:
file: lib/MCE/Core/Input/Handle.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Input::Iterator:
file: lib/MCE/Core/Input/Iterator.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Input::Request:
file: lib/MCE/Core/Input/Request.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Input::Sequence:
file: lib/MCE/Core/Input/Sequence.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Manager:
file: lib/MCE/Core/Manager.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Validation:
file: lib/MCE/Core/Validation.pm
- version: '1.872'
+ version: '1.873'
MCE::Core::Worker:
file: lib/MCE/Core/Worker.pm
- version: '1.872'
+ version: '1.873'
MCE::Flow:
file: lib/MCE/Flow.pm
- version: '1.872'
+ version: '1.873'
MCE::Grep:
file: lib/MCE/Grep.pm
- version: '1.872'
+ version: '1.873'
MCE::Loop:
file: lib/MCE/Loop.pm
- version: '1.872'
+ version: '1.873'
MCE::Map:
file: lib/MCE/Map.pm
- version: '1.872'
+ version: '1.873'
MCE::Mutex:
file: lib/MCE/Mutex.pm
- version: '1.872'
+ version: '1.873'
MCE::Mutex::Channel:
file: lib/MCE/Mutex/Channel.pm
- version: '1.872'
+ version: '1.873'
MCE::Mutex::Channel2:
file: lib/MCE/Mutex/Channel2.pm
- version: '1.872'
+ version: '1.873'
MCE::Mutex::Flock:
file: lib/MCE/Mutex/Flock.pm
- version: '1.872'
+ version: '1.873'
MCE::Queue:
file: lib/MCE/Queue.pm
- version: '1.872'
+ version: '1.873'
MCE::Relay:
file: lib/MCE/Relay.pm
- version: '1.872'
+ version: '1.873'
MCE::Signal:
file: lib/MCE/Signal.pm
- version: '1.872'
+ version: '1.873'
MCE::Step:
file: lib/MCE/Step.pm
- version: '1.872'
+ version: '1.873'
MCE::Stream:
file: lib/MCE/Stream.pm
- version: '1.872'
+ version: '1.873'
MCE::Subs:
file: lib/MCE/Subs.pm
- version: '1.872'
+ version: '1.873'
MCE::Util:
file: lib/MCE/Util.pm
- version: '1.872'
+ version: '1.873'
recommends:
Sereal::Decoder: '3.015'
Sereal::Encoder: '3.015'
@@ -139,4 +139,4 @@ resources:
homepage: https://github.com/marioroy/mce-perl
license: http://dev.perl.org/licenses/
repository: https://github.com/marioroy/mce-perl.git
-version: '1.872'
+version: '1.873'
diff --git a/Makefile.PL b/Makefile.PL
index 95c68da..8cd0655 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -17,7 +17,7 @@ WriteMakefile(
ABSTRACT => 'Many-Core Engine for Perl providing parallel processing capabilities',
AUTHOR => 'Mario E. Roy <marioeroy AT gmail DOT com>',
NAME => 'MCE',
- VERSION => '1.872',
+ VERSION => '1.873',
EXE_FILES => [ @exe_files ],
@@ -68,123 +68,123 @@ WriteMakefile(
'provides' => {
'MCE' => {
'file' => 'lib/MCE.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Candy' => {
'file' => 'lib/MCE/Candy.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Channel' => {
'file' => 'lib/MCE/Channel.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Channel::Mutex' => {
'file' => 'lib/MCE/Channel/Mutex.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Channel::Simple' => {
'file' => 'lib/MCE/Channel/Simple.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Channel::Threads' => {
'file' => 'lib/MCE/Channel/Threads.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Child' => {
'file' => 'lib/MCE/Child.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Input::Generator' => {
'file' => 'lib/MCE/Core/Input/Generator.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Input::Handle' => {
'file' => 'lib/MCE/Core/Input/Handle.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Input::Iterator' => {
'file' => 'lib/MCE/Core/Input/Iterator.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Input::Request' => {
'file' => 'lib/MCE/Core/Input/Request.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Input::Sequence' => {
'file' => 'lib/MCE/Core/Input/Sequence.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Manager' => {
'file' => 'lib/MCE/Core/Manager.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Validation' => {
'file' => 'lib/MCE/Core/Validation.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Core::Worker' => {
'file' => 'lib/MCE/Core/Worker.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Flow' => {
'file' => 'lib/MCE/Flow.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Grep' => {
'file' => 'lib/MCE/Grep.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Loop' => {
'file' => 'lib/MCE/Loop.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Map' => {
'file' => 'lib/MCE/Map.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Mutex' => {
'file' => 'lib/MCE/Mutex.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Mutex::Channel' => {
'file' => 'lib/MCE/Mutex/Channel.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Mutex::Channel2' => {
'file' => 'lib/MCE/Mutex/Channel2.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Mutex::Flock' => {
'file' => 'lib/MCE/Mutex/Flock.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Queue' => {
'file' => 'lib/MCE/Queue.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Relay' => {
'file' => 'lib/MCE/Relay.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Signal' => {
'file' => 'lib/MCE/Signal.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Step' => {
'file' => 'lib/MCE/Step.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Stream' => {
'file' => 'lib/MCE/Stream.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Subs' => {
'file' => 'lib/MCE/Subs.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
},
'MCE::Util' => {
'file' => 'lib/MCE/Util.pm',
- 'version' => '1.872'
+ 'version' => '1.873'
}
},
'prereqs' => {
diff --git a/README.md b/README.md
index 3e91cfd..52da71e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
## Many-Core Engine for Perl
-This document describes MCE version 1.872.
+This document describes MCE version 1.873.
Many-Core Engine (MCE) for Perl helps enable a new level of performance by
maximizing all available cores.
diff --git a/lib/MCE.pm b/lib/MCE.pm
index 006d8df..877636b 100644
--- a/lib/MCE.pm
+++ b/lib/MCE.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
diff --git a/lib/MCE.pod b/lib/MCE.pod
index 58b07ad..94d9ef3 100644
--- a/lib/MCE.pod
+++ b/lib/MCE.pod
@@ -5,7 +5,7 @@ MCE - Many-Core Engine for Perl providing parallel processing capabilities
=head1 VERSION
-This document describes MCE version 1.872
+This document describes MCE version 1.873
Many-Core Engine (MCE) for Perl helps enable a new level of performance by
maximizing all available cores.
diff --git a/lib/MCE/Candy.pm b/lib/MCE/Candy.pm
index f728362..8f06c26 100644
--- a/lib/MCE/Candy.pm
+++ b/lib/MCE/Candy.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
our @CARP_NOT = qw( MCE );
@@ -240,7 +240,7 @@ MCE::Candy - Sugar methods and output iterators
=head1 VERSION
-This document describes MCE::Candy version 1.872
+This document describes MCE::Candy version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Channel.pm b/lib/MCE/Channel.pm
index 3e05dfc..d646d3c 100644
--- a/lib/MCE/Channel.pm
+++ b/lib/MCE/Channel.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -127,7 +127,7 @@ MCE::Channel - Queue-like and two-way communication capability
=head1 VERSION
-This document describes MCE::Channel version 1.872
+This document describes MCE::Channel version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Channel/Mutex.pm b/lib/MCE/Channel/Mutex.pm
index 55844d6..3c3d0f2 100644
--- a/lib/MCE/Channel/Mutex.pm
+++ b/lib/MCE/Channel/Mutex.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
use base 'MCE::Channel';
use MCE::Mutex ();
@@ -304,7 +304,7 @@ MCE::Channel::Mutex - Channel for producer(s) and many consumers
=head1 VERSION
-This document describes MCE::Channel::Mutex version 1.872
+This document describes MCE::Channel::Mutex version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Channel/Simple.pm b/lib/MCE/Channel/Simple.pm
index 413dded..5200d82 100644
--- a/lib/MCE/Channel/Simple.pm
+++ b/lib/MCE/Channel/Simple.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
use base 'MCE::Channel';
@@ -300,7 +300,7 @@ MCE::Channel::Simple - Channel tuned for one producer and one consumer
=head1 VERSION
-This document describes MCE::Channel::Simple version 1.872
+This document describes MCE::Channel::Simple version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Channel/Threads.pm b/lib/MCE/Channel/Threads.pm
index 8002f92..d9c365f 100644
--- a/lib/MCE/Channel/Threads.pm
+++ b/lib/MCE/Channel/Threads.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
use threads;
use threads::shared;
@@ -320,7 +320,7 @@ MCE::Channel::Threads - Channel for producer(s) and many consumers
=head1 VERSION
-This document describes MCE::Channel::Threads version 1.872
+This document describes MCE::Channel::Threads version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Child.pm b/lib/MCE/Child.pm
index e657738..84fdeeb 100644
--- a/lib/MCE/Child.pm
+++ b/lib/MCE/Child.pm
@@ -11,7 +11,7 @@ no warnings qw( threads recursion uninitialized once redefine );
package MCE::Child;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitExplicitReturnUndef)
@@ -982,7 +982,7 @@ MCE::Child - A threads-like parallelization module compatible with Perl 5.8
=head1 VERSION
-This document describes MCE::Child version 1.872
+This document describes MCE::Child version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Core.pod b/lib/MCE/Core.pod
index b496a4a..194b5af 100644
--- a/lib/MCE/Core.pod
+++ b/lib/MCE/Core.pod
@@ -5,7 +5,7 @@ MCE::Core - Documentation describing the core MCE API
=head1 VERSION
-This document describes MCE::Core version 1.872
+This document describes MCE::Core version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Core/Input/Generator.pm b/lib/MCE/Core/Input/Generator.pm
index 9b8e458..078d95e 100644
--- a/lib/MCE/Core/Input/Generator.pm
+++ b/lib/MCE/Core/Input/Generator.pm
@@ -15,7 +15,7 @@ package MCE::Core::Input::Generator;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## Items below are folded into MCE.
@@ -220,7 +220,7 @@ MCE::Core::Input::Generator - Sequence of numbers (for task_id > 0)
=head1 VERSION
-This document describes MCE::Core::Input::Generator version 1.872
+This document describes MCE::Core::Input::Generator version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Input/Handle.pm b/lib/MCE/Core/Input/Handle.pm
index e1221c3..87a479d 100644
--- a/lib/MCE/Core/Input/Handle.pm
+++ b/lib/MCE/Core/Input/Handle.pm
@@ -14,7 +14,7 @@ package MCE::Core::Input::Handle;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## Items below are folded into MCE.
@@ -280,7 +280,7 @@ MCE::Core::Input::Handle - File path and Scalar reference input reader
=head1 VERSION
-This document describes MCE::Core::Input::Handle version 1.872
+This document describes MCE::Core::Input::Handle version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Input/Iterator.pm b/lib/MCE/Core/Input/Iterator.pm
index 7224e10..1de0a6a 100644
--- a/lib/MCE/Core/Input/Iterator.pm
+++ b/lib/MCE/Core/Input/Iterator.pm
@@ -14,7 +14,7 @@ package MCE::Core::Input::Iterator;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## Items below are folded into MCE.
@@ -128,7 +128,7 @@ MCE::Core::Input::Iterator - Iterator reader
=head1 VERSION
-This document describes MCE::Core::Input::Iterator version 1.872
+This document describes MCE::Core::Input::Iterator version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Input/Request.pm b/lib/MCE/Core/Input/Request.pm
index ff1888b..61b9f2a 100644
--- a/lib/MCE/Core/Input/Request.pm
+++ b/lib/MCE/Core/Input/Request.pm
@@ -14,7 +14,7 @@ package MCE::Core::Input::Request;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## Items below are folded into MCE.
@@ -199,7 +199,7 @@ MCE::Core::Input::Request - Array reference and Glob reference input reader
=head1 VERSION
-This document describes MCE::Core::Input::Request version 1.872
+This document describes MCE::Core::Input::Request version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Input/Sequence.pm b/lib/MCE/Core/Input/Sequence.pm
index 7b86c66..97f8317 100644
--- a/lib/MCE/Core/Input/Sequence.pm
+++ b/lib/MCE/Core/Input/Sequence.pm
@@ -14,7 +14,7 @@ package MCE::Core::Input::Sequence;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## Items below are folded into MCE.
@@ -231,7 +231,7 @@ MCE::Core::Input::Sequence - Sequence of numbers (for task_id == 0)
=head1 VERSION
-This document describes MCE::Core::Input::Sequence version 1.872
+This document describes MCE::Core::Input::Sequence version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Manager.pm b/lib/MCE/Core/Manager.pm
index d221869..a124343 100644
--- a/lib/MCE/Core/Manager.pm
+++ b/lib/MCE/Core/Manager.pm
@@ -14,7 +14,7 @@ package MCE::Core::Manager;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -1025,7 +1025,7 @@ MCE::Core::Manager - Core methods for the manager process
=head1 VERSION
-This document describes MCE::Core::Manager version 1.872
+This document describes MCE::Core::Manager version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Validation.pm b/lib/MCE/Core/Validation.pm
index 2a07071..a9a79bd 100644
--- a/lib/MCE/Core/Validation.pm
+++ b/lib/MCE/Core/Validation.pm
@@ -14,7 +14,7 @@ package MCE::Core::Validation;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## Items below are folded into MCE.
@@ -391,7 +391,7 @@ MCE::Core::Validation - Core validation methods for Many-Core Engine
=head1 VERSION
-This document describes MCE::Core::Validation version 1.872
+This document describes MCE::Core::Validation version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Core/Worker.pm b/lib/MCE/Core/Worker.pm
index 1d789c2..d180126 100644
--- a/lib/MCE/Core/Worker.pm
+++ b/lib/MCE/Core/Worker.pm
@@ -14,7 +14,7 @@ package MCE::Core::Worker;
use strict;
use warnings;
-our $VERSION = '1.872';
+our $VERSION = '1.873';
my $_tid = $INC{'threads.pm'} ? threads->tid() : 0;
@@ -714,7 +714,7 @@ MCE::Core::Worker - Core methods for the worker process
=head1 VERSION
-This document describes MCE::Core::Worker version 1.872
+This document describes MCE::Core::Worker version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Examples.pod b/lib/MCE/Examples.pod
index e886409..32047cf 100644
--- a/lib/MCE/Examples.pod
+++ b/lib/MCE/Examples.pod
@@ -5,7 +5,7 @@ MCE::Examples - Various examples and demonstrations
=head1 VERSION
-This document describes MCE::Examples version 1.872
+This document describes MCE::Examples version 1.873
=head1 INCLUDED WITH THE DISTRIBUTION
diff --git a/lib/MCE/Flow.pm b/lib/MCE/Flow.pm
index 0fa0b78..460b65d 100644
--- a/lib/MCE/Flow.pm
+++ b/lib/MCE/Flow.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -479,7 +479,7 @@ MCE::Flow - Parallel flow model for building creative applications
=head1 VERSION
-This document describes MCE::Flow version 1.872
+This document describes MCE::Flow version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Grep.pm b/lib/MCE/Grep.pm
index e365369..21b1b19 100644
--- a/lib/MCE/Grep.pm
+++ b/lib/MCE/Grep.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -434,7 +434,7 @@ MCE::Grep - Parallel grep model similar to the native grep function
=head1 VERSION
-This document describes MCE::Grep version 1.872
+This document describes MCE::Grep version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Loop.pm b/lib/MCE/Loop.pm
index 56c14d2..312dc71 100644
--- a/lib/MCE/Loop.pm
+++ b/lib/MCE/Loop.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -349,7 +349,7 @@ MCE::Loop - MCE model for building parallel loops
=head1 VERSION
-This document describes MCE::Loop version 1.872
+This document describes MCE::Loop version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Map.pm b/lib/MCE/Map.pm
index 4b5473d..9d5d1ba 100644
--- a/lib/MCE/Map.pm
+++ b/lib/MCE/Map.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -434,7 +434,7 @@ MCE::Map - Parallel map model similar to the native map function
=head1 VERSION
-This document describes MCE::Map version 1.872
+This document describes MCE::Map version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Mutex.pm b/lib/MCE/Mutex.pm
index 08e1737..cafc1f8 100644
--- a/lib/MCE/Mutex.pm
+++ b/lib/MCE/Mutex.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -76,7 +76,7 @@ MCE::Mutex - Locking for Many-Core Engine
=head1 VERSION
-This document describes MCE::Mutex version 1.872
+This document describes MCE::Mutex version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Mutex/Channel.pm b/lib/MCE/Mutex/Channel.pm
index ba7f908..ec75503 100644
--- a/lib/MCE/Mutex/Channel.pm
+++ b/lib/MCE/Mutex/Channel.pm
@@ -11,10 +11,10 @@ use warnings;
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
use base 'MCE::Mutex';
-use Scalar::Util qw(refaddr weaken);
+use Scalar::Util qw(weaken);
use MCE::Util ();
my $tid = $INC{'threads.pm'} ? threads->tid() : 0;
@@ -30,8 +30,6 @@ sub DESTROY {
syswrite($obj->{_r_sock}, '0'), $obj->{$pid.'b'} = 0 if $obj->{$pid.'b'};
if ( $obj->{_init_pid} eq $pid ) {
- my $addr = refaddr $obj;
-
($^O eq 'MSWin32' && $obj->{impl} eq 'Channel')
? MCE::Util::_destroy_pipes($obj, qw(_w_sock _r_sock))
: MCE::Util::_destroy_socks($obj, qw(_w_sock _r_sock));
@@ -141,7 +139,7 @@ MCE::Mutex::Channel - Mutex locking via a pipe or socket
=head1 VERSION
-This document describes MCE::Mutex::Channel version 1.872
+This document describes MCE::Mutex::Channel version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Mutex/Channel2.pm b/lib/MCE/Mutex/Channel2.pm
index b81db70..64ee73a 100644
--- a/lib/MCE/Mutex/Channel2.pm
+++ b/lib/MCE/Mutex/Channel2.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
use base 'MCE::Mutex::Channel';
use MCE::Util ();
@@ -116,7 +116,7 @@ MCE::Mutex::Channel2 - Provides two mutexes using a single channel
=head1 VERSION
-This document describes MCE::Mutex::Channel2 version 1.872
+This document describes MCE::Mutex::Channel2 version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Mutex/Flock.pm b/lib/MCE/Mutex/Flock.pm
index c917a7c..bf8cba4 100644
--- a/lib/MCE/Mutex/Flock.pm
+++ b/lib/MCE/Mutex/Flock.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
use base 'MCE::Mutex';
use Fcntl ':flock';
@@ -183,7 +183,7 @@ MCE::Mutex::Flock - Mutex locking via Fcntl
=head1 VERSION
-This document describes MCE::Mutex::Flock version 1.872
+This document describes MCE::Mutex::Flock version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Queue.pm b/lib/MCE/Queue.pm
index 6a077b7..cc8f7b7 100644
--- a/lib/MCE/Queue.pm
+++ b/lib/MCE/Queue.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (Subroutines::ProhibitExplicitReturnUndef)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -1395,7 +1395,7 @@ MCE::Queue - Hybrid (normal and priority) queues
=head1 VERSION
-This document describes MCE::Queue version 1.872
+This document describes MCE::Queue version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Relay.pm b/lib/MCE/Relay.pm
index f0088c7..a8d6e7c 100644
--- a/lib/MCE/Relay.pm
+++ b/lib/MCE/Relay.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized numeric );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -368,7 +368,7 @@ MCE::Relay - Extends Many-Core Engine with relay capabilities
=head1 VERSION
-This document describes MCE::Relay version 1.872
+This document describes MCE::Relay version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Signal.pm b/lib/MCE/Signal.pm
index 8c3d641..211a1d8 100644
--- a/lib/MCE/Signal.pm
+++ b/lib/MCE/Signal.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized once );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
@@ -438,7 +438,7 @@ MCE::Signal - Temporary directory creation/cleanup and signal handling
=head1 VERSION
-This document describes MCE::Signal version 1.872
+This document describes MCE::Signal version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Step.pm b/lib/MCE/Step.pm
index a53678e..b4f6957 100644
--- a/lib/MCE/Step.pm
+++ b/lib/MCE/Step.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -697,7 +697,7 @@ MCE::Step - Parallel step model for building creative steps
=head1 VERSION
-This document describes MCE::Step version 1.872
+This document describes MCE::Step version 1.873
=head1 DESCRIPTION
diff --git a/lib/MCE/Stream.pm b/lib/MCE/Stream.pm
index de26f5f..a7f4f7d 100644
--- a/lib/MCE/Stream.pm
+++ b/lib/MCE/Stream.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
## no critic (Subroutines::ProhibitSubroutinePrototypes)
@@ -671,7 +671,7 @@ MCE::Stream - Parallel stream model for chaining multiple maps and greps
=head1 VERSION
-This document describes MCE::Stream version 1.872
+This document describes MCE::Stream version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Subs.pm b/lib/MCE/Subs.pm
index 94b4a54..9d3a882 100644
--- a/lib/MCE/Subs.pm
+++ b/lib/MCE/Subs.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (Subroutines::ProhibitSubroutinePrototypes)
## no critic (TestingAndDebugging::ProhibitNoStrict)
@@ -204,7 +204,7 @@ MCE::Subs - Exports functions mapped directly to MCE methods
=head1 VERSION
-This document describes MCE::Subs version 1.872
+This document describes MCE::Subs version 1.873
=head1 SYNOPSIS
diff --git a/lib/MCE/Util.pm b/lib/MCE/Util.pm
index 7da6d8c..03fc7e5 100644
--- a/lib/MCE/Util.pm
+++ b/lib/MCE/Util.pm
@@ -11,7 +11,7 @@ use warnings;
no warnings qw( threads recursion uninitialized numeric );
-our $VERSION = '1.872';
+our $VERSION = '1.873';
## no critic (BuiltinFunctions::ProhibitStringyEval)
@@ -429,7 +429,7 @@ MCE::Util - Utility functions
=head1 VERSION
-This document describes MCE::Util version 1.872
+This document describes MCE::Util version 1.873
=head1 SYNOPSIS
diff --git a/t/05_mce_child.t b/t/05_mce_child.t
index 6a1a94d..004ab74 100644
--- a/t/05_mce_child.t
+++ b/t/05_mce_child.t
@@ -18,7 +18,7 @@ BEGIN {
ok( 1, "spawning asynchronously" );
- MCE::Child->create( sub { sleep 2; "$come_then_i_pray $_" } ) for ( 1 .. 3 );
+ MCE::Child->create( sub { sleep 1; sleep 1; "$come_then_i_pray $_" } ) for ( 1..3 );
%pids = map { $_ => undef } MCE::Child->list_pids;
is ( scalar( keys %pids ), 3, 'check for unique pids' );
@@ -59,8 +59,8 @@ BEGIN {
{
my ( $cnt, @procs ); local $_;
- for ( 1 .. 3 ) {
- push @procs, MCE::Child->create( sub { sleep 1 for 1 .. 9; return 1 } );
+ for ( 1..3 ) {
+ push @procs, MCE::Child->create( sub { sleep 1 for 1..9; return 1 } );
}
$procs[0]->exit();
@@ -106,7 +106,7 @@ BEGIN {
my @result; local $_;
- MCE::Child->create(\&task, $_) for ( 1 .. 3 );
+ MCE::Child->create(\&task, $_) for ( 1..3 );
my @procs = MCE::Child->wait_all();