Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::rapid::ThreadManager::disableWorker (   self,
  thread_id 
)

set so a worker will not run, or if it is running, make it quit and therefore complete

Definition at line 195 of file rapid.py.

00195                                       :
        """
        set so a worker will not run, or if it is running, make it quit and therefore complete
        """
        
        self._workers[thread_id].manuallyDisabled = True
        if self._workers[thread_id].hasStarted:
            self._workers[thread_id].quit()
            
        else:
            self._workers[thread_id].doNotStart = True
        
    def _isReadyToStart(self, w):


Generated by  Doxygen 1.6.0   Back to index