projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48dabc6
)
Change SharedLock to new pipe(2)-based condition
author
Michael Hanselmann
<hansmi@google.com>
Mon, 28 Sep 2009 15:44:19 +0000
(17:44 +0200)
committer
Michael Hanselmann
<hansmi@google.com>
Wed, 30 Sep 2009 15:35:54 +0000
(17:35 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/locking.py
patch
|
blob
|
history
diff --git
a/lib/locking.py
b/lib/locking.py
index
901fdac
..
ea1f2cc
100644
(file)
--- a/
lib/locking.py
+++ b/
lib/locking.py
@@
-409,7
+409,7
@@
class SharedLock(object):
"__shr",
]
- __condition_class = _CountingCondition
+ __condition_class = _PipeCondition
def __init__(self):
"""Construct a new SharedLock.