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.889
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 guard_lock
26 unlock
27 synchronize
28 enter
29 timedwait
30
31 secondary lock
32 lock2
33 lock_exclusive2
34 lock_shared2
35 guard_lock2
36 unlock2
37 synchronize2
38 enter2
39 timedwait2
40
42 Mario E. Roy, <marioeroy AT gmail DOT com>
43
44
45
46perl v5.38.0 2023-09-14 MCE::Mutex::Channel2(3)