diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-03 22:48:21 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-03 22:48:21 +0000 |
commit | 354e3edebebbdb23007db0e4af2dd294fecd570b (patch) | |
tree | 2301b0e889a89c699f1c092160142b243f1b5df0 /bin/newbin | |
parent | afc84a36ff6f3d14ddbbf99f1f901108ed033f49 (diff) | |
download | portage-354e3edebebbdb23007db0e4af2dd294fecd570b.tar.gz portage-354e3edebebbdb23007db0e4af2dd294fecd570b.tar.bz2 portage-354e3edebebbdb23007db0e4af2dd294fecd570b.zip |
Bug #230469 - Implement non-blocking distlocks for --fetchonly. This adds
a "flags" keyword parameter to the portage.locks.lock() function. Default
is flags=0. If flags contains os.O_NONBLOCK then lock() will raise
portage.exception.TryAgain instead of blocking. This new flags parameter
is used to implement non-blocking distlocks in fetch() when fetchonly
mode is enabled.
svn path=/main/trunk/; revision=10917
Diffstat (limited to 'bin/newbin')
0 files changed, 0 insertions, 0 deletions