スレッド ライブラリを使用する場合、 start_new_threads によって作成されたすべてのスレッドを結合する方法はありますか?
例えば:
try:
import thread
except ImportError:
import _thread as thread #Py3K changed it.
for url in url_ip_hash.keys():
thread.start_new_thread(check_url, (url,))
すべてのスレッドに参加するにはどうすればよいですか?