BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Coro6.570,1 newestnone known-[email protected]-
FreeBSDdevel/p5-Coro6.570,1 newestnone known-[email protected]-
OpenBSDdevel/p5-Coro6.570p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Coro6.57nb8none known-[email protected]2026-07-16
HardenedBSDdevel/p5-Coro6.570,1 newestno data-[email protected]-
GhostBSDdevel/p5-Coro6.570,1 newestno data-[email protected]-

Compare across BSDs

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.

Dependencies

Run dependencies 8