C++ Wait in main thread for future without while(true)

后端 未结 0 1330
囚心锁ツ
囚心锁ツ 2020-12-24 03:19

Question

I want to know if it is possible to wait in the main-Thread without any while(1)-loop. I launch a few threads via std::async() and do calculat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题