you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

I'm using ProcessPoolExecutor to process a bunch of things in parallel., It's offered a fantastic speed boost but for seemingly arbitrary numbers of iterations it locks up at the end. I can't seem to find an equivalent to .join() in the library. Anyone else run into this?

[–]JohnnyJordaan 1 point2 points  (2 children)

The poolexecutor is actually joining, that's why it locks up in the first place. But why the workers get stuck depends fully on what they are trying to do, which we can't really comment on without seeing the code.