MCE::Mutex::Channel2 - Provides two mutexes using a single channel
This document describes MCE::Mutex::Channel2 version 1.841
A socket implementation based on MCE::Mutex. The secondary lock is accessed by calling methods, described in MCE::Mutex, with the 2 suffix.
2
my $mutex = MCE::Mutex->new( impl => 'Channel2' );
$mutex->lock
$mutex->unlock
$mutex->synchronize
$mutex->timedwait
$mutex->lock2
$mutex->unlock2
$mutex->synchronize2
$mutex->timedwait2
Mario E. Roy, <marioeroy AT gmail DOT com>
To install MCE, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MCE
CPAN shell
perl -MCPAN -e shell install MCE
For more information on module installation, please visit the detailed CPAN module installation guide.