title: Shared variable in python's multiprocessing
body: <p>First question is what is the difference between Value and Manager().Value?</p>
  
  <p>Second, is it possible to share integer variable without using Value?
  Below is my sample code. What I want is getting a dict with a value of integer, not Value. What I did is just change it all after the process. Is there any easier way?</p>
  
  <pre><code>from multiprocessing import Process, Manager
  
  def f(n):
      n.value += 1
  
  if __name__ == '__main__':
      d = {}
      p = []
  
      for i in range(5):
          d[i] = Manager().Value('i',0)
          p.append(Process(target=f, args=(d[i],)))
          p[i].start()
  
      for q in p:
          q.join()
  
      for i in d:
          d[i] = d[i].value
  
      print d
  </code></pre>