Interrupt python thread

Fredrik Lundh fredrik at pythonware.com
Mon Aug 25 07:58:20 CEST 2008


James Matthews wrote:

>     def __stop(self):
>         self.__block.acquire()
>         self.__stopped = True
>         self.__block.notifyAll()
>         self.__block.release()

have you tried using that method?  what happened?  looking at the code, 
what do you think it does?

</F>




More information about the Python-list mailing list