Prune devel/py-EnthoughtBase
[dports.git] / devel / p5-Thread-Queue-Duplex / pkg-descr
1 A mapped queue, similar to Thread::Queue, except that as elements
2 are queued, they are assigned unique identifiers, which are used
3 to identify responses returned from the dequeuing thread. This
4 class provides a simple RPC-like mechanism between multiple client
5 and server threads, so that a single server thread can safely
6 multiplex requests from multiple client threads. Note that simplex
7 versions of the enqueue methods are provided which do not assign
8 unique identifiers, and are used for requests to which no response
9 is required/expected.
10
11 In addition, elements are inspected as they are enqueued/dequeued
12 to determine if they are Thread::Queue::Queueable (aka TQQ)
13 objects, and, if so, the onEnqueue() or onDequeue() methods are
14 called to permit any additional class-specific
15 marshalling/unmarshalling to be performed. Thread::Queue::Duplex
16 (aka TQD) is itself a Thread::Queue::Queueable object, thus
17 permitting TQD objects to be passed between threads.
18
19 WWW: http://search.cpan.org/dist/Thread-Queue-Duplex/