I’m trying to use multiprocessing’s Pool.map() function to divide out work simultaneously. When I use the following code, it works fine:
pool = multiprocessing.Pool(processes=4)
print pool.map(f, range(10))
if __name__== ‘__main__’ :
However, when I use it in a….