VCS/StatusMonitorThread.py

changeset 1255
e1d8a8a4d40c
parent 1131
7781e396c903
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1254:c077fa008aae 1255:e1d8a8a4d40c
92 self.monitorMutex.lock() 92 self.monitorMutex.lock()
93 if not self.__stopIt: 93 if not self.__stopIt:
94 self.monitorCondition.wait(self.monitorMutex, self.interval * 1000) 94 self.monitorCondition.wait(self.monitorMutex, self.interval * 1000)
95 self.monitorMutex.unlock() 95 self.monitorMutex.unlock()
96 96
97 self._shutdown()
97 self.exit() 98 self.exit()
98 99
99 def setInterval(self, interval): 100 def setInterval(self, interval):
100 """ 101 """
101 Public method to change the monitor interval. 102 Public method to change the monitor interval.
183 184
184 @return tuple of flag indicating successful operation (boolean) and 185 @return tuple of flag indicating successful operation (boolean) and
185 a status message in case of non successful operation (string) 186 a status message in case of non successful operation (string)
186 """ 187 """
187 raise RuntimeError('Not implemented') 188 raise RuntimeError('Not implemented')
189
190 def _shutdown(self):
191 """
192 Protected method performing shutdown actions.
193
194 The default implementation does nothing.
195 """
196 pass

eric ide

mercurial