BSD Ports

devel/p5-Thread-Apartment 0.51_1 FreeBSD

Apartment threading wrapper for Perl objects

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

Description

Thread::Apartment provides an apartment threading wrapper for Perl classes. "Apartment threading" is a method for isolating an object (or object hierarchy) in its own thread, and providing external interfaces via lightweight client proxy objects. This approach is especially valuable in the Perl threads environment, which doesn't provide a direct means of passing complex, nested structure objects between threads, and for non-threadsafe legacy object architectures, e.g., Perl/Tk.

By using lightweight client proxy objects that implement the Thread::Queue::Queueable interface, with Thread::Queue::Duplex objects as the communication channel between client proxies and apartment threads (or between threads in general), a more thread-friendly OO environment is provided, ala Java, i.e., the ability to pass arbitrary objects between arbitrary threads.

Thread::Apartment is a fundamental component of the PSiCHE framework (http://www.presicient.com/psiche).

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Thread-Apartment0.51_1
DragonFlydevel/p5-Thread-Apartment0.51_1
HardenedBSDdevel/p5-Thread-Apartment0.51_1
GhostBSDdevel/p5-Thread-Apartment0.51_1

Install

Binary package:

pkg install p5-Thread-Apartment

From the ports tree:

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

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

RUN_DEPENDS=	p5-Thread-Apartment>0:devel/p5-Thread-Apartment

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.51_10.51_10.51_10.51_10.51_1
FreeBSD:14:quarterly0.51_10.51_1n/a0.51_10.51_1
FreeBSD:15:latest0.51_10.51_1n/a0.51_10.51_1
FreeBSD:15:quarterly0.51_10.51_1n/an/an/a
FreeBSD:16:latest0.51_10.51_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

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

Build dependencies 4
Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 10
  • %%SITE_PERL%%/Thread/Apartment/Server.pm
  • %%SITE_PERL%%/Thread/Apartment/MuxServer.pm
  • %%SITE_PERL%%/Thread/Apartment/EventServer.pm
  • %%SITE_PERL%%/Thread/Apartment/Container.pm
  • %%SITE_PERL%%/Thread/Apartment/Common.pm
  • %%SITE_PERL%%/Thread/Apartment/Closure.pm
  • %%SITE_PERL%%/Thread/Apartment/Client.pm
  • %%SITE_PERL%%/Thread/Apartment.pod
  • %%SITE_PERL%%/Thread/Apartment.pm
  • %%PERL5_MAN3%%/Thread::Apartment.3.gz
distinfo 1
FileSizeSHA256
Thread-Apartment-0.51.tar.gz73960571fa77d4938566cd2c5284edd5ef513198ef0614d1a50af0c73faafd111df84
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.