My program is simply:
def mult(name,title):
while True:
name = str(name)+str(title)
pool = multiprocessing.pool(processes=5)
pool.map_async(mult,?...?)
pool.join()
My problem is how to pass the multiple arguments in "map_async()". I tried to supply them as an array like "map_async(mult,['go','stop']), but an exception is raised for missing arguments.
I want to pass the two arguments to function "mult" using map_async. How can I do it?