![]() |
![]()
| ![]() |
![]()
NAMEMCE::Channel::ThreadsFast - Fast channel for producer(s) and many consumers VERSIONThis document describes MCE::Channel::ThreadsFast version 1.901 DESCRIPTIONA channel class providing queue-like and two-way communication for threads only. Locking is handled using threads::shared. This is similar to MCE::Channel::Threads but optimized for non-Unicode strings only. The main difference is that this module lacks freeze-thaw serialization. Non-string arguments become stringified; i.e. numbers and undef. The API is described in MCE::Channel with the sole difference being "send" and "send2" handle one argument. Current module available since MCE 1.877.
QUEUE-LIKE BEHAVIORTWO-WAY IPC - PRODUCER TO CONSUMERTWO-WAY IPC - CONSUMER TO PRODUCERLIMITATIONSThe t/04_channel_threads tests are disabled on Unix platforms for Perl less than 5.10.1. Basically, the MCE::Channel::ThreadsFast implementation is not supported on older Perls unless the OS vendor applied upstream patches (i.e. works on RedHat/CentOS 5.x running Perl 5.8.x). AUTHORMario E. Roy, <marioeroy AT gmail DOT com>
|