Force program termination if threads block in C++

后端 未结 0 1794
感情败类
感情败类 2020-11-27 16:22

When a class is responsible for managing a thread, it is a common pattern (see for example here) to join this thread in the destructor after you have made sure that the thre

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