The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.863 - 2019-11-26

  • On Cygwin, silently use Mutex in MCE::Channel when Threads is specified for better performance.
  • New defer capability in MCE::Signal. This applies to MCE::Shared 1.863. See POD section labled "DEFER SIGNAL" in MCE::Signal.
  • Reverted $child->exit back to sending the SIGQUIT signal in MCE::Child now that MCE::Shared::Server 1.863 defers signal during IPC.
  • Improved reliability for spawning MCE and MCE::Child inside threads including nested parallelization, made possible using a global lock $MCE::_GMUTEX.
  • Updated signal handling in mce-examples/framebuffer on GitHub.

Documentation

Documentation describing the core MCE API
Various examples and demonstrations

Modules

MCE
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