Using my sample script
from multiprocessing import Pool
def methodUsingPool(x):
if __name__ == '__main__':
pool = Pool()
pool.map(print, x)
methodUsingPool("x")
print("1")
gets the output
1
1
1
1
1
1
x
1
while I've been expecting
x
1
Why is that so? What can I do?