diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-10 15:00:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-10 15:00:17 +0000 |
commit | 8bcd4a33e914f362cec4b7421c019a0969aa7276 (patch) | |
tree | 4b796f42a93b56a6e1210b86b68b36a8106b3f77 /src/tbz2tool.c | |
parent | 84d0df9bcd2ad92d5c06ada47e608841c9fd3659 (diff) | |
download | portage-8bcd4a33e914f362cec4b7421c019a0969aa7276.tar.gz portage-8bcd4a33e914f362cec4b7421c019a0969aa7276.tar.bz2 portage-8bcd4a33e914f362cec4b7421c019a0969aa7276.zip |
Add support for parallel --regen, using the existing --jobs and --load-average
options:
* Split out a PollLoop base class from Scheduler and derive a MetadataRegen
class to handle parallel scheduling for --regen.
* Add pordbapi._metadata_process() and _metadata_callback() methods to
implement asynchronous metadata generation. One method returns an
EbuildMetadataPhase instance to encapsulate the async task. The other
method is called to save the metadata when the process completes
successfully. These methods share code with aux_get to avoid duplicate
code.
svn path=/main/trunk/; revision=11012
Diffstat (limited to 'src/tbz2tool.c')
0 files changed, 0 insertions, 0 deletions