++ed by:
ADAMJS ASHLEY BAREFOOT STAUGAARD AERO

43 PAUSE users
38 non-PAUSE users.

Author image Mario Roy
and 1 contributors

NAME

MCE::Mutex::Channel2 - Provides two mutexes using a single channel

VERSION

This document describes MCE::Mutex::Channel2 version 1.874

DESCRIPTION

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_exclusive
lock_shared
unlock
synchronize
enter
timedwait

secondary lock

lock2
lock_exclusive2
lock_shared2
unlock2
synchronize2
enter2
timedwait2

AUTHOR

Mario E. Roy, <marioeroy AT gmail DOT com>