def worker(name, que):
    que.put('%d is done' % name)
if __name__ == '__main__':
    pool = multiprocessing.Pool(processes=3)
m = multiprocessing.Manager()
Sharing a result queue among several processes