1MCE::Mutex::Channel2(3)User Contributed Perl DocumentatioMnCE::Mutex::Channel2(3)
2
3
4
6 MCE::Mutex::Channel2 - Provides two mutexes using a single channel
7
9 This document describes MCE::Mutex::Channel2 version 1.874
10
12 A socket implementation based on "MCE::Mutex". The secondary lock is
13 accessed by calling methods with the 2 suffix.
14
15 The API is described in MCE::Mutex.
16
17 construction
18 new
19 my $mutex = MCE::Mutex->new( impl => 'Channel2' );
20
21 primary lock
22 lock
23 lock_exclusive
24 lock_shared
25 unlock
26 synchronize
27 enter
28 timedwait
29
30 secondary lock
31 lock2
32 lock_exclusive2
33 lock_shared2
34 unlock2
35 synchronize2
36 enter2
37 timedwait2
38
40 Mario E. Roy, <marioeroy AT gmail DOT com>
41
42
43
44perl v5.32.1 2021-01-27 MCE::Mutex::Channel2(3)