MCPcopy Create free account
hub / github.com/PyQt5/PyQt / run

Method run

QThread/WakeupThread.py:33–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 self.cond.wakeAll()
32
33 def run(self):
34 while 1:
35 self.mutex.lock()
36 if self._isPause:
37 self.cond.wait(self.mutex)
38 if self._value > 100:
39 self._value = 0
40 self._value += 1
41 self.valueChange.emit(self._value)
42 self.msleep(100)
43 self.mutex.unlock()
44
45
46class Window(QWidget):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected