++ed by:
42 non-PAUSE users
Author image Mario Roy
and 1 contributors

Changes for version 1.867

  • Bug fix for UTF-8 issues during inter-process communication. This update required undoing optimizations specific to scalar args. Essentially, IPC involves serialization for everything going forward. Install Sereal::Encoder and Sereal::Decoder for better performance in Perl 5.8.8+.
  • MCE options flush_stdout, flush_stderr, and flush_file now default to enabled for the MCE->print, MCE->printf, and MCE->say output routines.
  • Improved MCE::Child with threads-like detach capability. See POD.
  • Improved IPC in MCE::Queue with permanent fast-like dequeue including dequeue_nb. Going forward, the fast and barrier options are silently ignored if specified (i.e. no-op).
  • Improved IPC performance on Linux.


Documentation describing the core MCE API
Various examples and demonstrations


Many-Core Engine for Perl providing parallel processing capabilities
Sugar methods and output iterators
Queue-like and two-way communication capability
Channel for producer(s) and many consumers
Channel tuned for one producer and one consumer
Channel for producer(s) and many consumers
A threads-like parallelization module compatible with Perl 5.8
Sequence of numbers (for task_id > 0)
File path and Scalar reference input reader
Iterator reader
Array reference and Glob reference input reader
Sequence of numbers (for task_id == 0)
Core methods for the manager process
Core validation methods for Many-Core Engine
Core methods for the worker process
Parallel flow model for building creative applications
Parallel grep model similar to the native grep function
MCE model for building parallel loops
Parallel map model similar to the native map function
Locking for Many-Core Engine
Mutex locking via a pipe or socket
Provides two mutexes using a single channel
Mutex locking via Fcntl
Hybrid (normal and priority) queues
Extends Many-Core Engine with relay capabilities
Temporary directory creation/cleanup and signal handling
Parallel step model for building creative steps
Parallel stream model for chaining multiple maps and greps
Exports functions mapped directly to MCE methods
Utility functions