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

Search results for "dist:MCE Mutex"

MCE::Mutex - Locking for Many-Core Engine River stage three • 21 direct dependents • 315 total dependents

This module implements locking methods that can be used to coordinate access to shared data from multiple workers spawned as processes or threads. The inspiration for this module came from reading Mutex for Ruby....

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

MCE::Mutex::Flock - Mutex locking via Fcntl River stage three • 21 direct dependents • 315 total dependents

A Fcntl implementation for "MCE::Mutex". The API is described in MCE::Mutex. new lock lock_exclusive lock_shared guard_lock unlock synchronize enter timedwait...

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

MCE::Mutex::Channel - Mutex locking via a pipe or socket River stage three • 21 direct dependents • 315 total dependents

A pipe-socket implementation for "MCE::Mutex". The API is described in MCE::Mutex. new lock lock_exclusive lock_shared guard_lock unlock synchronize enter timedwait...

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

MCE::Channel::Mutex - Channel for producer(s) and many consumers River stage three • 21 direct dependents • 315 total dependents

A channel class providing queue-like and two-way communication for processes and threads. Locking is handled using MCE::Mutex. The API is described in MCE::Channel. new use MCE::Channel; # The default is tuned for one producer and many consumers. my ...

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

MCE::Mutex::Channel2 - Provides two mutexes using a single channel River stage three • 21 direct dependents • 315 total dependents

A socket implementation based on "MCE::Mutex". The secondary lock is accessed by calling methods with the 2 suffix. The API is described in MCE::Mutex. construction new my $mutex = MCE::Mutex->new( impl => 'Channel2' ); primary lock lock lock_exclusi...

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

MCE::Channel::MutexFast - Fast channel for producer(s) and many consumers River stage three • 21 direct dependents • 315 total dependents

A channel class providing queue-like and two-way communication for processes and threads. Locking is handled using MCE::Mutex. This is similar to MCE::Channel::Mutex but optimized for non-Unicode strings only. The main difference is that this module ...

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

MCE - Many-Core Engine for Perl providing parallel processing capabilities River stage three • 21 direct dependents • 315 total dependents

MCE spawns a pool of workers and therefore does not fork a new process per each element of data. Instead, MCE follows a bank queuing model. Imagine the line being the data and bank-tellers the parallel workers. MCE enhances that model by adding the a...

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

MCE::Channel - Queue-like and two-way communication capability River stage three • 21 direct dependents • 315 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
8 results (0.033 seconds)