devel/p5-Async-MergePoint 0.04_1 FreeBSD
Perl modules that resynchronise diverged control flow
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 7.1 KiB, 10.3 KiB installed
Description
Often in program logic, multiple different steps need to be taken that are independent of each other, but their total result is needed before the next step can be taken. In synchronous code, the usual approach is to perform them sequentially.
An asynchronous or event-based program could do this, but if each step involves some I/O idle time, better overall performance can often be gained by running the steps in parallel. Async::MergePoint object can then be used to wait for all of the steps to complete, before passing the combined result of each step on to the next stage.
This module was originally part of the IO::Async distribution, but was removed under the inspiration of Pedro Melo's Async::Hooks distribution, because it does not itself contain anything I/O-specific.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Async-MergePoint | 0.04_1 |
| DragonFly | devel/p5-Async-MergePoint | 0.04_1 |
Install
Binary package:
pkg install p5-Async-MergePoint
From the ports tree:
cd /usr/ports/devel/p5-Async-MergePoint/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Async-MergePoint>0:devel/p5-Async-MergePoint
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.04_1 | 0.04_1 | 0.04_1 | 0.04_1 | 0.04_1 |
| FreeBSD:14:quarterly | 0.04_1 | 0.04_1 | n/a | 0.04_1 | 0.04_1 |
| FreeBSD:15:latest | 0.04_1 | 0.04_1 | n/a | 0.04_1 | 0.04_1 |
| FreeBSD:15:quarterly | 0.04_1 | 0.04_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.04_1 | 0.04_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.
Test 2
p5-Test-Exception>=0: devel/p5-Test-Exceptionp5-Test-Fatal>=0: devel/p5-Test-Fatal
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Async-MergePoint-0.04.tar.gz | 15046 | 128919127fca8787498f281292ced8da385750508803916b3686b64224b6c7a4 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.