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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Thread-Apartment | 0.51_1 |
| DragonFly | devel/p5-Thread-Apartment | 0.51_1 |
| HardenedBSD | devel/p5-Thread-Apartment | 0.51_1 |
| GhostBSD | devel/p5-Thread-Apartment | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.51_1 | 0.51_1 | 0.51_1 | 0.51_1 | 0.51_1 |
| FreeBSD:14:quarterly | 0.51_1 | 0.51_1 | n/a | 0.51_1 | 0.51_1 |
| FreeBSD:15:latest | 0.51_1 | 0.51_1 | n/a | 0.51_1 | 0.51_1 |
| FreeBSD:15:quarterly | 0.51_1 | 0.51_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.51_1 | 0.51_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Class-ISA>=0.32: devel/p5-Class-ISAp5-Class-Inspector>=1.08: devel/p5-Class-Inspectorp5-Thread-Queue-Duplex>=0.92: devel/p5-Thread-Queue-Duplex
Runtime 3
p5-Class-ISA>=0.32: devel/p5-Class-ISAp5-Class-Inspector>=1.08: devel/p5-Class-Inspectorp5-Thread-Queue-Duplex>=0.92: devel/p5-Thread-Queue-Duplex
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
| File | Size | SHA256 |
|---|---|---|
| Thread-Apartment-0.51.tar.gz | 73960 | 571fa77d4938566cd2c5284edd5ef513198ef0614d1a50af0c73faafd111df84 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.