NAME
MCE::Channel::Threads - Channel for producer(s) and many consumers
VERSION
This document describes MCE::Channel::Threads version 1.839
DESCRIPTION
A channel class providing queue-like and two-way communication for threads only. Locking is handled using threads.
use MCE::Channel;
# The default is tuned for one producer and many consumers.
my $chnl_a = MCE::Channel->new( impl => 'threads' );
# Specify the 'mp' option for safe use by two or more producers
# sending or recieving on the left side of the channel.
# E.g. C<->enqueue/->send> or C<->recv2/->recv2_nb>
my $chnl_b = MCE::Channel->new( impl => 'threads', mp => 1 );
The API is described in MCE::Channel.
AUTHOR
Mario E. Roy, <marioeroy AT gmail DOT com>