title: Python Threads collection
body: <p>I have a code something like this, </p>
  
  <pre><code>import threading
  
  class Mythread(threading.Thread):
          def __init__(self):
              threading.Thread.__init__(self)
          def run(self):
              print('do some processing')
  
  if __name__=='__main__':
         while Ture:
           val = raw_input('next thread')
           t = MyThread()
           t.start()
           t.join()
  </code></pre>
  
  <p>The question is how can I carry on with main function without blocking the main because <code>t.join()</code> stop the main until t does not finish? </p>