|Name : perl-Async-MergePoint
|Version : 0.40.0
||Vendor : Mandriva
|Release : 1
||Date : 2011-06-13 18:49:09
|Group : Development/Perl
||Source RPM : perl-Async-MergePoint-0.40.0-1.src.rpm
|Size : 0.01 MB
|Packager : Guillaume Rousse < guillomovitch_mandriva_org>
|Summary : Resynchronise diverged control flow
|Description : |
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
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.
A merge point maintains a set of outstanding operations it is waiting on;
these are arbitrary string values provided at the object\'s construction.
Each time the \'done()\' method is called, the named item is marked as being
complete. When all of the required items are so marked, the \'on_finished\'
continuation is invoked.
RPM found in directory: /mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/2011/i586/media/contrib/release