[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 01/23] try to get rid of deadlock



Signed-off-by: Mike O'Connor <stew@vireo.org>
---
 dak/import_known_changes.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dak/import_known_changes.py b/dak/import_known_changes.py
index d286775..0b23862 100755
--- a/dak/import_known_changes.py
+++ b/dak/import_known_changes.py
@@ -144,7 +144,7 @@ class OneAtATime(object):
 
         assert( not self.next_in_line )
         self.next_in_line = next
-        self.next_lock.notify()
+        self.next_lock.notifyAll()
         self.next_lock.release()
 
     def dequeue(self):
@@ -157,7 +157,7 @@ class OneAtATime(object):
         result = self.next_in_line
 
         self.next_in_line = None
-        self.next_lock.notify()
+        self.next_lock.notifyAll()
         self.next_lock.release()
 
         if isinstance(result, EndOfChanges):
-- 
1.6.3.3



Reply to: