Re: Try to stop thread Using flag

2006-11-25 Thread ger <[EMAIL PROTECTED]>
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Python documentation states: [quote] start( ) Start the thread's activity. This must be called at most once per thread object. It arranges for the object's run() method to be invoked in a separate thread of control. [/quote] So

Re: Try to stop thread Using flag

2006-11-25 Thread MC
http://candygram.sourceforge.net/ -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Try to stop thread Using flag

2006-11-25 Thread many_years_after
Hi,pythoners: I countered some problems when I try to stop threads using flag. These are my some important codes: # mythread.py def run(self): while self.addr != '':### text waiting for processing if not self.CONTINUE: ### flag for thread ,means to exit the