Date: Tue, 04 Aug 2009 09:31:30 -0300 From: Felippe de Meirelles Motta <lippemail@gmail.com> To: ports-committers@FreeBSD.org Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/devel Makefile ports/devel/p5-Async-MergePoint Makefile distinfo pkg-descr Message-ID: <4A782A22.80908@gmail.com> In-Reply-To: <200908041218.n74CIwVf022679@repoman.freebsd.org> References: <200908041218.n74CIwVf022679@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Felippe de Meirelles Motta wrote: > 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/ PR: ports/137200 Submitted by: Johan Strom <johan@stromnet.se> > > 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) > Sorry the noise ... -- Felippe M Motta
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A782A22.80908>