title: Python multiprocessing process doesn't run
body: <p>First of all, it should probably be mentioned that I'm fairly new to programming, and that I'm using Python 3.2.5. I'm trying to create a game that connects to and pings a server with regular intervals. At first, I tried to simply bundle this right into the game's main loop, with the result that said loop froze for the duration of the ping (My connection is slow, and I don't want this to inhibit gameplay as the game doesn't depend on the server at all - It just needs to ping it to keep the session open in order to later register a final score).</p>
  
  <p>Getting to the point, I figured I'd try using a secondary loop for all server-related code, which brought me to multiprocessing. My current idea is to keep an infinite loop running, and feeding it with tasks through a queue. It'll then return info on wether said tasks were successful or not through queue, and the game can run smoothly. I stripped it down to the following for testing, and nothing gets printed. I would obviously like to know why. </p>
  
  <p>(I'm guessing a lot of clever people have better ideas for how to do this. I'm all ears.)</p>
  
  <pre><code>import multiprocessing
  
  def aFunction(q_in, q_out):
      while True:
          item = q_in.get()
          q_out.put("some info")
  
  if __name__ == "__main__":
      q_in = multiprocessing.Queue()
      q_out = multiprocessing.Queue()
      p = multiprocessing.Process(target = aFunction, args = (q_in, q_out))
  
      p.start()
      q_in.put("some task here")
  
      while True:
          item = q_out.get()
          print(str(item))
  </code></pre>