summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-07-12 21:39:02 +0000
committerMatt Wilson <msw@redhat.com>1999-07-12 21:39:02 +0000
commit8a20ab4b0edd4d0851bac1524fa36ed637497210 (patch)
treeb168a483b32efeb9135121b1b9eb0eab10a690c9 /gui.py
parenta0cb3bcc1f9a1c3279039a57f26f47214dab2535 (diff)
downloadanaconda-8a20ab4b0edd4d0851bac1524fa36ed637497210.tar.gz
anaconda-8a20ab4b0edd4d0851bac1524fa36ed637497210.tar.xz
anaconda-8a20ab4b0edd4d0851bac1524fa36ed637497210.zip
use lowlevel mutexes - Event seems buggy
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index c6302eb76..5ebc8fda1 100755
--- a/gui.py
+++ b/gui.py
@@ -318,7 +318,7 @@ class InstallControlWindow:
def setScreen (self, screen):
if screen == len (self.stateList) :
self.window.destroy ()
- self.mutex.set ()
+ self.mutex.release ()
return
elif screen == len (self.stateList) - 1 :
self.buttonBox.foreach (lambda x, b=self.buttonBox: b.remove (x))
@@ -413,15 +413,15 @@ class InstallControlWindow:
threads_leave ()
def run (self):
- self.mutex = Event ()
+ self.mutex = allocate_lock ()
+ self.mutex.acquire ()
# Popup the ICW and wait for it to wake us back up
threads_enter ()
self.window.show_all ()
threads_leave ()
- self.mutex.wait ()
-
+ self.mutex.acquire ()
class InstallControlState: