Gabriel Genellina wrote: > 1) make the child window set a flag in the thread (let's say, > t.terminate = True). And make the polling thread check the flag > periodically (you possibly already have a loop there - just break the > loop when you detect that self.terminate became true)
threading.Condition() and threading.Event() are especially designed for the job. Please use them appropriately. Christian -- http://mail.python.org/mailman/listinfo/python-list