title: Multiprocessing, how to run processes in parallel without creating zombies?
body: <p>I'd like to run the processes in parallel, so I commented out a <code>p.join</code> from the <code>__main__</code> section.
  What are the consequences of not have a <code>.join</code>, or better yet, should I be using a different approach for parallel multiprocessing?</p>
  
  <pre><code>import multiprocessing
  
  def worker(num):
      x = 0
      for i in range(10000):
          x+=1
      print x, num
  
  if __name__ == '__main__':
  
      for i in range(4):
          p = multiprocessing.Process(target=worker, args=(i,))
          p.start()
          # p.join()
  </code></pre>