MCE::Ch...:Simple(3)
π NAME π
MCE::Channel::Simple β a channel that's literally built different: tuned for one producer and one consumer, and that's it, that's the whole vibe π
β¨ VERSION β¨
This doc is describing MCE::Channel::Simple version 1.902, no cap π«Ά
πΈ DESCRIPTION πΈ
okay so picture this: a channel class that does queue-like communication and two-way communication, and it's serving exactly one process or thread on either end. That's it. One. Singular. Main character behavior π
and the best part?? no locking needed π not a single lock. she doesn't need one. she's just like that.
the whole API lives over in MCE::Channel, so go read that if you want the full tea π
π¦ new
use MCE::Channel;
my $chnl = MCE::Channel->new( impl => 'Simple' );
that's how you spin one up bestie, impl => 'Simple' and you're sooo ready β¨
π QUEUE-LIKE BEHAVIOR π
the queue girlies, in order:
enqueuedequeuedequeue_nbend
π TWO-WAY IPC - PRODUCER TO CONSUMER π
producer β‘οΈ consumer, the classic pipeline, obsessed:
sendrecvrecv_nb
π§ TWO-WAY IPC - CONSUMER TO PRODUCER π§
and she talks BACK. consumer β‘οΈ producer, iconic:
send2recv2recv2_nb
π AUTHOR π
Mario E. Roy, <marioeroy AT gmail DOT com> β thank you for your service king π«‘π
and that's the whole page bestie π this was MCE::Channel::Simple(3) from the User Contributed Perl Documentation, brought to you by perl v5.42.0 and dated 2025-09-10. slay, go forth and channel π
β¨
π¦ where this page comes from
- fedora 43: perl-MCE 1.902-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms