libthread-queue-perl | Perl module for thread-safe queues | Mehr ...
Thread::Queue provides thread-safe FIFO queues that can be accessed safely by any number of threads. . Any data types supported by threads::shared can be passed via queues: . * Ordinary scalars * Array refs * Hash refs * Scalar refs * Objects based on the above . If not already thread-shared, complex data types will be cloned (recursively, if needed, and including any blessings and read-only settings) into thread-shared structures before being placed onto a queue. . This package contains a newer version of the core Perl module Thread::Queue. Unless you need a higher version than the one present in perl-modules, there is no need to install or depend on this package.