Name : perl-Async-MergePoint
| |
Version : 0.30.0
| Vendor : Mandriva
|
Release : 1mdv2010.0
| Date : 2009-07-12 12:09:04
|
Group : Development/Perl
| Source RPM : perl-Async-MergePoint-0.30.0-1mdv2010.0.src.rpm
|
Size : 0.01 MB
| |
Packager : Jérôme Quelin < jquelin_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 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.
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: /vol/rzm6/linux-mandriva/official/2010.0/i586/media/contrib/release |