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

Method onResumeThread

QThread/SuspendThread.py:81–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 self.resumeButton.setEnabled(True)
80
81 def onResumeThread(self):
82 if self._thread.handle == -1:
83 return print('handle is wrong')
84 ret = ResumeThread(self._thread.handle)
85 print('恢复线程', self._thread.handle, ret)
86 self.suspendButton.setEnabled(True)
87 self.resumeButton.setEnabled(False)
88
89 def onStopThread(self):
90 self.startButton.setEnabled(False)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected