From owner-svn-ports-head@freebsd.org Sun Apr 21 19:06:34 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3382015819A8; Sun, 21 Apr 2019 19:06:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CEBF684613; Sun, 21 Apr 2019 19:06:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A9F79196B; Sun, 21 Apr 2019 19:06:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3LJ6XWX009624; Sun, 21 Apr 2019 19:06:33 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3LJ6Xho009621; Sun, 21 Apr 2019 19:06:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201904211906.x3LJ6Xho009621@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 21 Apr 2019 19:06:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499557 - head/devel/p5-Coro X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/p5-Coro X-SVN-Commit-Revision: 499557 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: CEBF684613 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2019 19:06:34 -0000 Author: sunpoet Date: Sun Apr 21 19:06:32 2019 New Revision: 499557 URL: https://svnweb.freebsd.org/changeset/ports/499557 Log: Update to 6.54 - Update pkg-descr - Take maintainership Changes: https://metacpan.org/changes/distribution/Coro Modified: head/devel/p5-Coro/Makefile head/devel/p5-Coro/distinfo head/devel/p5-Coro/pkg-descr Modified: head/devel/p5-Coro/Makefile ============================================================================== --- head/devel/p5-Coro/Makefile Sun Apr 21 18:27:08 2019 (r499556) +++ head/devel/p5-Coro/Makefile Sun Apr 21 19:06:32 2019 (r499557) @@ -1,20 +1,21 @@ # $FreeBSD$ PORTNAME= Coro -PORTVERSION= 6.514 +PORTVERSION= 6.540 PORTEPOCH= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:C|0$||} -MAINTAINER= perl@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Coroutine process abstraction for perl LICENSE= ART10 GPLv1+ LICENSE_COMB= dual -BUILD_DEPENDS= ${RUN_DEPENDS} \ - p5-Canary-Stability>=0:devel/p5-Canary-Stability +BUILD_DEPENDS= p5-Canary-Stability>=0:devel/p5-Canary-Stability \ + ${RUN_DEPENDS} RUN_DEPENDS= p5-AnyEvent>=7:devel/p5-AnyEvent \ p5-AnyEvent-AIO>=1.0:devel/p5-AnyEvent-AIO \ p5-EV>=4:devel/p5-EV \ Modified: head/devel/p5-Coro/distinfo ============================================================================== --- head/devel/p5-Coro/distinfo Sun Apr 21 18:27:08 2019 (r499556) +++ head/devel/p5-Coro/distinfo Sun Apr 21 19:06:32 2019 (r499557) @@ -1,3 +1,3 @@ -TIMESTAMP = 1515424879 -SHA256 (Coro-6.514.tar.gz) = d83343839290a72db302a14b1ad86f0069f0bba6d45f947252d9db490edecd62 -SIZE (Coro-6.514.tar.gz) = 195122 +TIMESTAMP = 1555855397 +SHA256 (Coro-6.54.tar.gz) = 55342a40b90aaff9a427db964e3b46bd0bb52f37e24cb7d3a8dd9d1aca580028 +SIZE (Coro-6.54.tar.gz) = 196014 Modified: head/devel/p5-Coro/pkg-descr ============================================================================== --- head/devel/p5-Coro/pkg-descr Sun Apr 21 18:27:08 2019 (r499556) +++ head/devel/p5-Coro/pkg-descr Sun Apr 21 19:06:32 2019 (r499557) @@ -1,9 +1,18 @@ -This module collection manages coroutines. Coroutines are similar to -threads but don't run in parallel. +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. -In this module, coroutines are defined as "callchain + lexical variables -+ @_ + $_ + $@ + $^W + C stack), that is, a coroutine has its own -callchain, its own set of lexicals and its own set of perl's most -important global variables. +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. WWW: https://metacpan.org/release/Coro