Re: Why didn't my threads exit correctly ?

2013-10-04 Thread
2013 at 2:25 AM, MRAB wrote: > On 03/10/2013 18:37, 李洛 wrote: > >> Hi list, >> I write an example script using threading as follow. >> It look like hang when the list l_ip is empty. And any suggestion with >> debug over the threading in Python ? >> >>1 #!/u

Why didn't my threads exit correctly ?

2013-10-03 Thread
Hi list, I write an example script using threading as follow. It look like hang when the list l_ip is empty. And any suggestion with debug over the threading in Python ? 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 import re 4 import os 5 import threading 6 from Queue import Que