devel/p5-Coro 6.570,1 DragonFly
Coroutine process abstraction for perl
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 193.2 KiB, 422.0 KiB installed
Description
Coro started as a simple module that implemented a specific form of first class continuations called Coroutines. These basically allow you to capture the current point execution and jump to another point, while allowing you to return at any time, as kind of non-local jump, not unlike C's setjmp/longjmp. This is nowadays known as a Coro::State.
One natural application for these is to include a scheduler, resulting in cooperative threads, which is the main use case for Coro today. Still, much of the documentation and custom refers to these threads as "coroutines" or often just "coros".
A thread is very much like a stripped-down perl interpreter, or a process: Unlike a full interpreter process, a thread doesn't have its own variable or code namespaces - everything is shared. That means that when one thread modifies a variable (or any value, e.g. through a reference), then other threads immediately see this change when they look at the same variable or location.
In the other systems
The newest version among them is 6.570, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Coro | 6.570,1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Coro | 6.570,1 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Coro | 6.570p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Coro | 6.57nb8 | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-Coro | 6.570,1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Coro | 6.570,1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-Coro
From DPorts:
cd /usr/dports/devel/p5-Coro && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.