Search results for "module:MCE::Mutex::Channel"

MCE::Channel::Mutex - Channel for producer(s) and many consumers River stage three • 18 direct dependents • 316 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.879 - 24 May 2022 09:25:26 UTC

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

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

MARIOROY/MCE-1.879 - 24 May 2022 09:25:26 UTC

MCE::Mutex::Channel2 - Provides two mutexes using a single channel River stage three • 18 direct dependents • 316 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.879 - 24 May 2022 09:25:26 UTC

MCE::Channel::MutexFast - Fast channel for producer(s) and many consumers River stage three • 18 direct dependents • 316 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.879 - 24 May 2022 09:25:26 UTC

MCE::Mutex - Locking for Many-Core Engine River stage three • 18 direct dependents • 316 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.879 - 24 May 2022 09:25:26 UTC

MCE::Channel - Queue-like and two-way communication capability River stage three • 18 direct dependents • 316 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.879 - 24 May 2022 09:25:26 UTC
6 results (0.062 seconds)