New submission from Sebastien BRACQUEMONT:

After a call to join() method on a Threading.thread object,there is no
way to successfully call start() method on it.

Indeed, the __started flag is not reset in the theading.Thread join()
method. 
Since the start() method checks for __started flag , this flag is always  
true after a first start, despite the thread was effectively stopped by
the join() call

Since it's perfectly legal to store a threading.Thread object in a
variable or an object member, i think the join() behaviour is odd
because it prevents instance reusability.

----------
components: Library (Lib)
messages: 58622
nosy: dweeves
severity: normal
status: open
title: threading.Thread objects are not reusable after join()
type: behavior
versions: Python 2.4, Python 2.5

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1626>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to