1MCE::Channel::Simple(3)User Contributed Perl DocumentatioMnCE::Channel::Simple(3)
2
3
4

NAME

6       MCE::Channel::Simple - Channel tuned for one producer and one consumer
7

VERSION

9       This document describes MCE::Channel::Simple version 1.884
10

DESCRIPTION

12       A channel class providing queue-like and two-way communication for one
13       process or thread on either end; no locking needed.
14
15       The API is described in MCE::Channel.
16
17       new
18           use MCE::Channel;
19
20           my $chnl = MCE::Channel->new( impl => 'Simple' );
21

QUEUE-LIKE BEHAVIOR

23       enqueue
24       dequeue
25       dequeue_nb
26       end
27

TWO-WAY IPC - PRODUCER TO CONSUMER

29       send
30       recv
31       recv_nb
32

TWO-WAY IPC - CONSUMER TO PRODUCER

34       send2
35       recv2
36       recv2_nb
37

AUTHOR

39       Mario E. Roy, <marioeroy AT gmail DOT com>
40
41
42
43perl v5.36.0                      2023-01-20           MCE::Channel::Simple(3)
Impressum