(self)
| 71 | self.stopButton.setEnabled(True) |
| 72 | |
| 73 | def onSuspendThread(self): |
| 74 | if self._thread.handle == -1: |
| 75 | return print('handle is wrong') |
| 76 | ret = SuspendThread(self._thread.handle) |
| 77 | print('挂起线程', self._thread.handle, ret) |
| 78 | self.suspendButton.setEnabled(False) |
| 79 | self.resumeButton.setEnabled(True) |
| 80 | |
| 81 | def onResumeThread(self): |
| 82 | if self._thread.handle == -1: |
nothing calls this directly
no outgoing calls
no test coverage detected