Bug#501694: ITP: libthread-queue-any-perl -- Thread-safe queues for any data-structure
Package: wnpp
Severity: wishlist
Owner: Matt Zagrabelny <mzagrabe@d.umn.edu>
* Package name : libthread-queue-any-perl
Version : 0.09
Upstream Author : Elizabeth Mattijsen <liz@dijkmat.nl>
* URL :
* http://search.cpan.org/~elizabeth/Thread-Queue-Any-0.09/lib/Thread/Queue/Any.pm
* License : Same terms as Perl
Programming Lang: Perl
Description : Thread-safe queues for any data-structure
A queue, as implemented by Thread::Queue::Any is a thread-safe data
structure that inherits from Thread::Queue. But unlike the standard
Thread::Queue, you can pass (a reference to) any data structure to the
queue.
Apart from the fact that the parameters to enqueue are considered to be
a set that needs to be enqueued together and that dequeue returns all of
the parameters that were enqueued together, this module is a drop-in
replacement for Thread::Queue in every other aspect.
Any number of threads can safely add elements to the end of the list, or
remove elements from the head of the list. (Queues don't permit adding
or removing elements from the middle of the list).
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Reply to: