Answer the question
In order to leave comments, you need to log in
Why is waiting for a thread to finish called join?
Is there any logic in this name? Judging by what has been done there in all programming languages, this word should have some kind of applied meaning. Could call wait(
) everywhere it is named the same
Answer the question
In order to leave comments, you need to log in
What language are you talking about?
However, if you do not get attached to the language, then this method name also makes sense.
Join - in the sense that you need to "connect" to the stream and wait for it to complete. Those. you kind of joined (join) and from the inside wait until the "main loop" returns you the exit code of the thread.
Why is waiting for a thread to finish called join?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question