<p>看了大卫·比兹利的(<a href="http://www.dabeaz.com" rel="nofollow">http://www.dabeaz.com</a>)<a href="http://blip.tv/file/2232410" rel="nofollow">video about python threads</a>,我正在尝试用线程的东西</p>
<pre><code>def countdown(n):
while n > 0:
if not n % 100000:
print n
n -= 1
>> from threading import Thread
>> t1=Thread(target=countdown,args=(10000000,))
>> t1.start();t1.join()
>>Ctrl-C
</code></pre>
<p>这个给了</p>
^{pr2}$
<p>现在我试图找到线程的状态</p>
<pre><code>>>t1.isAlive()
>>False
</code></pre>
<p>所以,我试图再次运行线程,这导致了一个错误</p>
<pre><code>>>t1.start();t1.join()
--------------
RuntimeError: thread already started
</code></pre>
<p>为什么会这样?有没有办法停止线程?在</p>