BSD Ports

devel/p5-Thread-Queue-Duplex 0.92_1 FreeBSD

Thread-safe request/response queue with identifiable elements

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
AFL21
Categories
devel, perl5
Package size
23.6 KiB, 72.2 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Thread-Queue-Duplex0.92_1
DragonFlydevel/p5-Thread-Queue-Duplex0.92_1

Install

Binary package:

pkg install p5-Thread-Queue-Duplex

From the ports tree:

cd /usr/ports/devel/p5-Thread-Queue-Duplex/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Thread-Queue-Duplex>0:devel/p5-Thread-Queue-Duplex

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.92_10.92_10.92_10.92_10.92_1
FreeBSD:14:quarterly0.92_10.92_1n/a0.92_10.92_1
FreeBSD:15:latest0.92_10.92_1n/a0.92_10.92_1
FreeBSD:15:quarterly0.92_10.92_1n/an/an/a
FreeBSD:16:latest0.92_10.92_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 7
  • %%SITE_PERL%%/Thread/Queue/TQDContainer.pm
  • %%SITE_PERL%%/Thread/Queue/Queueable.pod
  • %%SITE_PERL%%/Thread/Queue/Queueable.pm
  • %%SITE_PERL%%/Thread/Queue/Duplex.pod
  • %%SITE_PERL%%/Thread/Queue/Duplex.pm
  • %%PERL5_MAN3%%/Thread::Queue::Duplex.3.gz
  • %%PERL5_MAN3%%/Thread::Queue::Queueable.3.gz
distinfo 1
FileSizeSHA256
Thread-Queue-Duplex-0.92.tar.gz35370c04c0b6c400622f4d63dbcf932f6edb9f3e09d2caef41f46379fa32510197f4b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.