p5-Thread-Queue-Duplex - Thread-safe request/response queue with identifiable elements

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename p5-Thread-Queue-Duplex-0.92_1.txz
Package name p5-Thread-Queue-Duplex
Package version 0.92
Package release 1
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Thread-Queue-Duplex
License AFL21
Maintainer bofh@FreeBSD.org
Download size 23.09 KB
Installed size 72.66 KB
A mapped queue, similar to Thread::Queue, except that as elements
are queued, they are assigned unique identifiers, which are used
to identify responses returned from the dequeuing thread. This
class provides a simple RPC-like mechanism between multiple client
and server threads, so that a single server thread can safely
multiplex requests from multiple client threads. Note that simplex
versions of the enqueue methods are provided which do not assign
unique identifiers, and are used for requests to which no response
is required/expected.
In addition, elements are inspected as they are enqueued/dequeued
to determine if they are Thread::Queue::Queueable (aka TQQ)
objects, and, if so, the onEnqueue() or onDequeue() methods are
called to permit any additional class-specific
marshalling/unmarshalling to be performed. Thread::Queue::Duplex
(aka TQD) is itself a Thread::Queue::Queueable object, thus
permitting TQD objects to be passed between threads.
WWW: https://metacpan.org/release/Thread-Queue-Duplex


Package Version Architecture Repository
p5-Thread-Queue-Duplex-0.92_1.txz 0.92 i386 FreeBSD Ports Latest
p5-Thread-Queue-Duplex-0.92_1.txz 0.92 amd64 FreeBSD Ports Quarterly
p5-Thread-Queue-Duplex-0.92_1.txz 0.92 i386 FreeBSD Ports Quarterly
p5-Thread-Queue-Duplex - - -


Name Value
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Thread-Queue-Duplex-0.92_1.txz
Source Package devel/p5-Thread-Queue-Duplex

Install Howto

Install p5-Thread-Queue-Duplex txz package:

# pkg install p5-Thread-Queue-Duplex

See Also

Package Description
p5-Thread-Suspend-1.23.txz Suspend and resume operations for threads
p5-Thrift-0.11.0,1.txz Perl interface to Thrift
p5-Thrift-XS-1.04_2.txz Faster Thrift binary protocol encoding and decoding
p5-Throwable-0.200013.txz Easy-to-use class for error objects
p5-Tie-Array-Pack-0.02_1.txz Array implemented as a packed string
p5-Tie-Array-Sorted-1.41.txz Perl array which is kept sorted
p5-Tie-CPHash-1.04_1.txz Perl module implementing a case preserving hash table
p5-Tie-Cache-0.21_1.txz LRU Cache in Memory through a tie interface
p5-Tie-DBI-1.06_1.txz Perl module implementing Tie hash to a DBI handle
p5-Tie-DB_File-SplitHash-1.05_1.txz Wrapper around the DB_File Berkeley database system
p5-Tie-DB_FileLock-0.11_1.txz Locking access to Berkeley DB v1.x
p5-Tie-DNS-1.151560,1.txz Tie interface to Net::DNS
p5-Tie-DxHash-1.05_2.txz Perl module implementing ordered hashes with duplicate keys
p5-Tie-EncryptedHash-1.24_1.txz Hashes (and objects based on hashes) with encrypting fields
p5-Tie-File-1.00_1.txz Access the lines of a disk file via a Perl array