, evildictait​or wrote

If you need it to be synchronous, don't use the thread. Threads should be for tasks going on in the background, not for doing critical stuff that you need to wait for.

Oh not true sir. If I have 3 running tasks that are isolated from each other, but something needs the results of all 3 then that's a perfect use for threading.