1MCE::Channel::SimpleFasUts(e3r)Contributed Perl DocumentMaCtEi:o:nChannel::SimpleFast(3)
2
3
4

NAME

6       MCE::Channel::SimpleFast - Fast channel tuned for one producer and one
7       consumer
8

VERSION

10       This document describes MCE::Channel::SimpleFast version 1.878
11

DESCRIPTION

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

QUEUE-LIKE BEHAVIOR

32       enqueue
33       dequeue
34       dequeue_nb
35       end
36

TWO-WAY IPC - PRODUCER TO CONSUMER

38       send
39       recv
40       recv_nb
41

TWO-WAY IPC - CONSUMER TO PRODUCER

43       send2
44       recv2
45       recv2_nb
46

AUTHOR

48       Mario E. Roy, <marioeroy AT gmail DOT com>
49
50
51
52perl v5.34.0                      2022-02-20       MCE::Channel::SimpleFast(3)
Impressum