diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-17 22:41:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-17 22:41:04 +0000 |
commit | f202826c41db708712a1847c11f2298b1314b2d9 (patch) | |
tree | 088fbf35bdc00d18365b610d9c5567ca43361808 /bin/isolated-functions.sh | |
parent | 37ffbba1a6f77d177bb6535ddc6727703f12808a (diff) | |
download | portage-f202826c41db708712a1847c11f2298b1314b2d9.tar.gz portage-f202826c41db708712a1847c11f2298b1314b2d9.tar.bz2 portage-f202826c41db708712a1847c11f2298b1314b2d9.zip |
When dblink is looping over files for merge/unmerge, temporarily yield to the
scheduler each time a fixed number of files are processed (currently 20).
This gives the scheduler an opportunity to service pending poll events. This
is implemented with a new PollScheduler._schedule_yield() method which calls
poll() exactly once, without blocking, and any services any resulting poll
events.
svn path=/main/trunk/; revision=11116
Diffstat (limited to 'bin/isolated-functions.sh')
0 files changed, 0 insertions, 0 deletions