Multiprocessing only works for the first iteration
问题 I am trying to use Python multiprocessing. I wrapped my statements inside a function then I used the multiprocessing map to loop over the function. I found that only the first iteration was really processed yet the rest did not ( I checked from that by printing the result). Here are my problems : Why only the first iteration was computed. How to return each array separately B, C, and D. My real calculations do have too many staff to calculate and to return, so is there is a more efficient