diff options
author | Matt Wilson <msw@redhat.com> | 1999-07-12 21:39:02 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-07-12 21:39:02 +0000 |
commit | 8a20ab4b0edd4d0851bac1524fa36ed637497210 (patch) | |
tree | b168a483b32efeb9135121b1b9eb0eab10a690c9 /gui.py | |
parent | a0cb3bcc1f9a1c3279039a57f26f47214dab2535 (diff) | |
download | anaconda-8a20ab4b0edd4d0851bac1524fa36ed637497210.tar.gz anaconda-8a20ab4b0edd4d0851bac1524fa36ed637497210.tar.xz anaconda-8a20ab4b0edd4d0851bac1524fa36ed637497210.zip |
use lowlevel mutexes - Event seems buggy
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |