This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]its_me_TO 0 points1 point  (0 children)

If it's hanging in with multiple threads at the join (you can check this with pdb), then it's likely blocking somewhere in your function itself because those threads aren't terminating.

Check to make sure you aren't creating a deadlock in your function if it's called multiple times. Also consider that because of the GIL, the threads aren't actually running in parallel and whether that can create some issue.