1MCE::Channel::SimpleFasUts(e3r)Contributed Perl DocumentMaCtEi:o:nChannel::SimpleFast(3)
2
3
4
6 MCE::Channel::SimpleFast - Fast channel tuned for one producer and one
7 consumer
8
10 This document describes MCE::Channel::SimpleFast version 1.878
11
13 A channel class providing queue-like and two-way communication for one
14 process or thread on either end; no locking needed.
15
16 This is similar to MCE::Channel::Simple but optimized for non-Unicode
17 strings only. The main difference is that this module lacks freeze-thaw
18 serialization. Non-string arguments become stringified; i.e. numbers
19 and undef.
20
21 The API is described in MCE::Channel with the sole difference being
22 "send" and "send2" handle one argument.
23
24 Current module available since MCE 1.877.
25
26 new
27 use MCE::Channel;
28
29 my $chnl = MCE::Channel->new( impl => 'Simple' );
30
32 enqueue
33 dequeue
34 dequeue_nb
35 end
36
38 send
39 recv
40 recv_nb
41
43 send2
44 recv2
45 recv2_nb
46
48 Mario E. Roy, <marioeroy AT gmail DOT com>
49
50
51
52perl v5.34.0 2022-02-20 MCE::Channel::SimpleFast(3)