MCPcopy Index your code
hub / github.com/PyQt5/PyQt / run

Method run

QThread/QuitThread.py:24–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22class Thread(QThread):
23
24 def run(self):
25 print('thread id', QThread.currentThread())
26 i = 0
27 while i < 101 and not self.isInterruptionRequested():
28 print('value', i, time())
29 i += 1
30 QThread.msleep(500)
31 print('thread quit')
32
33
34if __name__ == '__main__':

Callers 4

iFunction · 0.45
lcFunction · 0.45
iFunction · 0.45
lcFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected