These two patches add a new condition, currently used only by sharers on a
SharedLock. Using this conditions throughout a SharedLock it's possible to
nicely implement timed waiting.

Guido Trotter (2):
  LazyCountingPollingPipe, and its unittests
  CountingGroupCondition, and its unit test

 lib/locking.py                  |  173 ++++++++++++++++++++++++++++++++++++++-
 test/ganeti.locking_unittest.py |  135 ++++++++++++++++++++++++++++++
 2 files changed, 307 insertions(+), 1 deletions(-)

Reply via email to