A program that creates several processes that work on a join-able queue, Q, and may eventually manipulate a global dictionary D to store results. (
Q
D
Maybe you can try pyshmht, sharing memory based hash table extension for Python.
Notice
It's not fully tested, just for your reference.
It currently lacks lock/sem mechanisms for multiprocessing.