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

Search results for "module:MCE::Signal"

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::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::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::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::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::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::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::Channel - Queue-like and two-way communication capability River stage three • 21 direct dependents • 313 total dependents

A MCE::Channel object is a container for sending and receiving data using socketpair handles. Serialization is provided by Sereal if available. Defaults to Storable otherwise. Excluding the "Simple" implementation, both ends of the "channel" support ...

MARIOROY/MCE-1.889 - 13 Sep 2023 23:37:02 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
12 results (0.033 seconds)