From: Mike O'Connor Date: Fri, 30 Oct 2009 14:27:41 +0000 (+0100) Subject: try to get rid of deadlock X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ed62bc33000e2670aed2b2f1c478b2e6c62d0e;p=dak try to get rid of deadlock Signed-off-by: Mike O'Connor --- diff --git a/dak/import_known_changes.py b/dak/import_known_changes.py index d286775a..0b238626 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):