Need at some point to close the flow of the in stream itself. Example:
thread1 = std::thread([] () { Long();});Long() { .... while (true) { .... if (..) { thread1.join(); } }}
So I get the error.. Are there any ways to do this?
Aucun commentaire:
Enregistrer un commentaire