C++ Thread: How to pass parameter in main thread to another thread with lambda function

前端 未结 0 1381
太阳男子
太阳男子 2021-01-30 09:36

I am trying to pass a bool flag from the main thread to another thread with lambda function, but it does not seem to work. My idea is to create a

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