The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:MCE::Core::Manager"

MCE::Core::Manager - Core methods for the manager process River stage three • 21 direct dependents • 313 total dependents

This package provides the loop and relevant methods used internally by the manager process. There is no public API....

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Relay - Extends Many-Core Engine with relay capabilities River stage three • 21 direct dependents • 313 total dependents

This module enables workers to receive and pass on information orderly with zero involvement by the manager process while running. The module is loaded automatically when MCE option "init_relay" is specified. All workers (belonging to task_id 0) must...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Subs - Exports functions mapped directly to MCE methods River stage three • 21 direct dependents • 313 total dependents

This module exports functions mapped to MCE methods. All exported functions are prototyped, therefore allowing one to call them without using parentheses. use MCE::Subs qw( :worker ); sub user_func { my $wid = MCE->wid; mce_say "A: $wid"; mce_sync; m...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Map - Parallel map model similar to the native map function River stage three • 21 direct dependents • 313 total dependents

This module provides a parallel map implementation via Many-Core Engine. MCE incurs a small overhead due to passing of data. A fast code block will run faster natively. However, the overhead will likely diminish as the complexity increases for the co...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Grep - Parallel grep model similar to the native grep function River stage three • 21 direct dependents • 313 total dependents

This module provides a parallel grep implementation via Many-Core Engine. MCE incurs a small overhead due to passing of data. A fast code block will run faster natively. However, the overhead will likely diminish as the complexity increases for the c...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Loop - MCE model for building parallel loops River stage three • 21 direct dependents • 313 total dependents

This module provides a parallel loop implementation through Many-Core Engine. MCE::Loop is not MCE::Map but more along the lines of an easy way to spin up a MCE instance and have user_func pointing to your code block. If you want something similar to...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Hobo - A threads-like parallelization module River stage one • 2 direct dependents • 3 total dependents

A hobo is a migratory worker inside the machine that carries the asynchronous gene. Hobo processes are equipped with "threads"-like capability for running code asynchronously. Unlike threads, each hobo is a unique process to the underlying OS. The IP...

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC

MCE::Step - Parallel step model for building creative steps River stage three • 21 direct dependents • 313 total dependents

MCE::Step is similar to MCE::Flow for writing custom apps. The main difference comes from the transparent use of queues between sub-tasks. MCE 1.7 adds mce_enq, mce_enqp, and mce_await methods described under QUEUE-LIKE FEATURES below. It is trivial ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Flow - Parallel flow model for building creative applications River stage three • 21 direct dependents • 313 total dependents

MCE::Flow is great for writing custom apps to maximize on all available cores. This module was created to help one harness user_tasks within MCE. It is trivial to parallelize with mce_stream shown below. ## Native map function my @a = map { $_ * 4 } ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Child - A threads-like parallelization module compatible with Perl 5.8 River stage three • 21 direct dependents • 313 total dependents

MCE::Child is a fork of MCE::Hobo for compatibility with Perl 5.8. A child is a migratory worker inside the machine that carries the asynchronous gene. Child processes are equipped with "threads"-like capability for running code asynchronously. Unlik...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Queue - Hybrid (normal and priority) queues River stage three • 21 direct dependents • 313 total dependents

This module provides a queue interface supporting normal and priority queues and utilizing the IPC engine behind MCE. Data resides under the manager process. Three options are available for overriding the default value for new queues. The porder opti...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Shared - MCE extension for sharing data supporting threads and processes River stage one • 2 direct dependents • 3 total dependents

This module provides data sharing capabilities for MCE supporting threads and processes. MCE::Hobo provides threads-like parallelization for running code asynchronously....

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC

MCE::Stream - Parallel stream model for chaining multiple maps and greps River stage three • 21 direct dependents • 313 total dependents

This module allows one to stream multiple map and/or grep operations in parallel. Code blocks run simultaneously from right-to-left. The results are appended immediately when providing a reference to an array. ## Appends are serialized, even out-of-o...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Signal - Temporary directory creation/cleanup and signal handling River stage three • 21 direct dependents • 313 total dependents

This package configures $SIG{ ABRT, HUP, INT, PIPE, QUIT, and TERM } to point to stop_and_exit and creates a temporary directory. The main process and workers receiving said signals call stop_and_exit, which signals all workers to terminate, removes ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Core::Validation - Core validation methods for Many-Core Engine River stage three • 21 direct dependents • 313 total dependents

This package provides validation methods used internally by the manager process. There is no public API....

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 UTC

MCE::Shared::Cache - A hybrid LRU-plain cache helper class River stage one • 2 direct dependents • 3 total dependents

A cache helper class for use as a standalone or managed by MCE::Shared. This module implements a least-recently used (LRU) cache with its origin based on MCE::Shared::Ordhash, for its performance and low-memory characteristics. It is both a LRU and p...

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC

MCE::Shared::Condvar - Condvar helper class River stage one • 2 direct dependents • 3 total dependents

This helper class for MCE::Shared provides a "Scalar", "Mutex", and primitives for conditional locking....

MARIOROY/MCE-Shared-1.886 - 13 Sep 2023 23:57:14 UTC
17 results (0.037 seconds)