1

Topic: Explain terminology thread join

Greetings to all! Explain, please, why the method std:: thread:: join () is called so, instead of wait (), for example. After all we wait a flow, instead of we connect it somewhere. And why thread API it is made so: void func () {thread t (...); t.join ();//the launching flow will wait t} instead of so: void func () {thread t (...); Thread:: current ().wait (t);//the launching flow will wait t} the Second variant like more natural.

2

Re: Explain terminology thread join

Hello, Maxim Rogozhin, you wrote: > After all we wait a flow, instead of we connect it somewhere. Merge, splicing of logic of performance means. At first it branches on some flows, and then merges in one, at least is temporarily.