I am trying to run my simulations in a threadpool and store my results for each repetition in a global numpy array. However, I get problems while doing that and I am observing a really interesting behavior with the following (, simplified) code (python 3.7): The issue is: I get the correct “Start record & Finish record” outputs, e.g. Start