MCE
view release on metacpan or search on metacpan
There are 8 data channels in MCE. Basically, a worker will obtain a
lock only when sharing the data channel with another worker.
* Updated files_flow.pl, files_mce.pl and files_thr.pl to allow for
many workers for the first task. Updated the synopsis in MCE::Queue.
Synced example listing in Examples.pod with the examples folder.
* Remove period from summary line.
1.518 Mon Oct 27 10:00:00 EST 2014
[BUG FIXES]
* Corrected MCE::Queue's synopsis due to missing List::MoreUtils line.
Changed the synopsis to use 1 worker for the 'dir' task in the event
one were to copy/patse the code and use threads. The glob() function
is not thread-safe in Perl 5.16.x; fixed in 5.18.2, okay in 5.8 - 14.
* Use portable syntax for setpgrp in MCE::Signal. This closes issue 1
at https://code.google.com/p/many-core-engine-perl.
[NEW FEATURES]
* New 'fast' option for MCE::Queue. The 'fast' option speeds up ->dequeue
ops and not enabled by default. It is beneficial for queues not needing
->clear or ->dequeue_nb and not altering the optional count value
while running; e.g. ->dequeue( [ $count ] ).
* Added three examples: files_flow.pl, files_mce.pl, and files_thr.pl.
* Benchmarked on several OSes and appended results to MCE::Queue synopsis.
1.517 Thu Oct 23 10:00:00 EST 2014
[BUG FIXES]
* Correction applied to MCE::Util::get_ncpu for Tru64 UNIX. This method
will emit a warning (not croak) whenever the OS is unknown.
* Changed ${^CHILD_ERROR_NATIVE} to $? in examples/pipe2.pl. This was
missed in the previous release.
[ENHANCEMENTS]
* Added support for DragonFly BSD, SCO OpenServer 5, SCO OpenServer 6 and
SCO UnixWare 7 to MCE::Util::get_ncpu.
* Also, validated MCE on FreeBSD, NetBSD, OpenBSD, PC-BSD and JabirOS.
No further changes to MCE::Util::get_ncpu.
1.516 Fri Oct 03 02:00:00 EST 2014
[BUG FIXES]
* Updated IPC for better stability across multiple environments. The fix
addresses an issue on Windows where sockets fail to respond after a
period of inactivity; i.e. 4 minutes. Added George Bouras to CREDITS
for reporting the issue.
* Tip for folks developing on Windows:
Open an explorer window and go to C:\Users\<user>\AppData\Local\Temp.
Right-click on the 'mce' folder and create a shortcut on the desktop.
Although MCE removes its temp files automatically, it is possible for
files to remain from a failing app. Go inside the 'mce' folder and
press ctrl-a to select all files. Then press shift-delete;
(macbook[pro] folks: fn-shift-delete).
[ENHANCEMENTS]
* Corrections to documentation.
1.515 Thu Jul 24 23:30:00 EST 2014
[BUG FIXES]
* bin/mce_grep: ${^CHILD_ERROR_NATIVE} is not defined in Perl 5.8.x.
Changed to $?.
[ENHANCEMENTS]
* Tweaked bin/mce_grep. Compute chunk_level => 'auto' to use 'file' when
reading STDIN. Set chunk_size to 8M when not specified (4M previously).
* Added the following names to CREDITS.
Stephan Kulow ; for making the OpenSUSE MCE package
Henry Lu ; for listening while I chatted away about MCE
Jillian Rowe ; for reporting IO::File failing as input_data
Sylvia Roy ; for driving while I worked in the passenger seat
Tom Sasser ; for reporting bin/mce_grep failing with Perl 5.8.x
Florian Schlichting ; for making the Debian MCE package
[NEW FEATURES]
* Added support for IO::File handles as valid input_data including
IO:Uncompress:Gunzip.
Modified SYNTAX section for INPUT_DATA in MCE::Core.pod.
input_data => $fh, ## new IO::File "file", "r"
input_data => $fh, ## new IO::Uncompress::Gunzip "file.gz"
1.514 Thu Jun 05 09:00:00 EST 2014
[BUG FIXES]
* Fixed typo in MCE::Step POD (RT#95250) (Florian Schlichting).
* Updated MCE::Util's get_ncpu function for AIX (Dana Jacobsen).
* Do not send a KILL signal after receiving a SIGPIPE.
* Fixed issue with Makefile.PL on defining the minimum Perl version.
* Use Scalar::Util (looks_like_number) for validation logic. The regex
previously were insufficient for large numbers containing scientific
notation. This impacted the sequence option in MCE.
[ENHANCEMENTS]
* The mce-sandbox demo has been released on GitHub demonstrating
Perl + MCE + Inline::C. The theme is Prime Numbers. This journey
which began 2 years ago has been completed. There is also the
mce-sort exercise demonstrating Perl + MCE + External C.
( run in 0.463 second using v1.01-cache-2.11-cpan-f56aa216473 )