Globals variables and Python multiprocessing [duplicate]

If you are running two separate processes, then they won’t be sharing the same globals. If you want to pass the data between the processes, look at using send and recv. Take a look at http://docs.python.org/library/multiprocessing.html#sharing-state-between-processes for an example similar to what you’re doing.

Leave a Comment