NAME
MCE::Channel::Simple - Channel tuned for one producer and one consumer
VERSION
This document describes MCE::Channel::Simple version 1.897
DESCRIPTION
A channel class providing queue-like and two-way communication for one process or thread on either end; no locking needed.
The API is described in MCE::Channel.
- new
-
use MCE::Channel; my $chnl = MCE::Channel->new( impl => 'Simple' );
QUEUE-LIKE BEHAVIOR
- enqueue
- dequeue
- dequeue_nb
- end
TWO-WAY IPC - PRODUCER TO CONSUMER
- send
- recv
- recv_nb
TWO-WAY IPC - CONSUMER TO PRODUCER
- send2
- recv2
- recv2_nb
AUTHOR
Mario E. Roy, <marioeroy AT gmail DOT com>