devel/p5-Async-MergePoint 0.04_1 DragonFly
Perl modules that resynchronise diverged control flow
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- devel, perl5
- Package size
- 7.0 KiB, 10.5 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 |
|---|---|---|
| DragonFly | devel/p5-Async-MergePoint | 0.04_1 |
| FreeBSD | devel/p5-Async-MergePoint | 0.04_1 |
| HardenedBSD | devel/p5-Async-MergePoint | 0.04_1 |
| GhostBSD | devel/p5-Async-MergePoint | 0.04_1 |
Install
Binary package:
pkg install p5-Async-MergePoint
From DPorts:
cd /usr/dports/devel/p5-Async-MergePoint && make install clean
Dependencies
Run dependencies 1
No port depends on this one.