From owner-cvs-ports@FreeBSD.ORG Tue Aug 4 12:18:59 2009 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB6B106564A; Tue, 4 Aug 2009 12:18:59 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1E68FC14; Tue, 4 Aug 2009 12:18:59 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n74CIw6o022680; Tue, 4 Aug 2009 12:18:58 GMT (envelope-from lippe@repoman.freebsd.org) Received: (from lippe@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n74CIwVf022679; Tue, 4 Aug 2009 12:18:58 GMT (envelope-from lippe) Message-Id: <200908041218.n74CIwVf022679@repoman.freebsd.org> From: Felippe de Meirelles Motta Date: Tue, 4 Aug 2009 12:18:58 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/p5-Async-MergePoint Makefile distinfo pkg-descr X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 12:19:00 -0000 lippe 2009-08-04 12:18:58 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/p5-Async-MergePoint Makefile distinfo pkg-descr Log: 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 synchonous code, the usual approach is to do them sequentially. An asynchronous or event-based program could do this, but if each step involves some IO idle time, better overall performance can often be gained by running the steps in parallel. A 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 doesn't itself contain anything IO-specific. WWW: http://search.cpan.org/dist/Async-MergePoint/ Revision Changes Path 1.3580 +1 -0 ports/devel/Makefile 1.1 +28 -0 ports/devel/p5-Async-MergePoint/Makefile (new) 1.1 +3 -0 ports/devel/p5-Async-MergePoint/distinfo (new) 1.1 +16 -0 ports/devel/p5-Async-MergePoint/pkg-descr (new)