Process Finished With Exit Code -1073740940 (0xC0000374) Code Example


Example: Process finished with exit code -1073740791 (0xC0000409)

class serialThreadC(QThread):     updateOutBox = QtCore.pyqtSignal(str)     updateStatus = QtCore.pyqtSignal(int)      def __init__(self):         super(serialThreadC, self).__init__()         self.ser = False         self.state = 0         self._mutex = QMutex()         self.serialEnabled = False         def ConnDisconn(self):         self._mutex.lock()         self.serialEnabled = not self.serialEnabled         self._mutex.unlock()      def run(self):         while True:             if self.state == -3 or self.state == -2:                 self._mutex.lock()                 if self.serialEnabled:                     self.updatePB(20)                 self._mutex.unlock()             elif self.state == 0:                 self._mutex.lock()                 if self.serialEnabled:                     self.updatePB(20)                 self._mutex.unlock()

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable