Gracefully exit a program containing std::async C++

后端 未结 0 764
执笔经年
执笔经年 2020-12-14 03:01

I have the main thread, which calls a function using std:async.

void fileIO() {
  while (true) {
    SomeClass::someStaticFunction();
  }
}

int          


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