C++ using promise and future to limit running threads

后端 未结 0 817
不思量自难忘°
不思量自难忘° 2020-12-18 18:59

My problem is that I want only 2 threads to be running at the same time, but I MUST use promise and future, and make sure there is no busy-waiting and unnecessary delay, if

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