Why lock_guard not get destructed after another function is called?

前端 未结 0 938
故里飘歌
故里飘歌 2020-12-19 05:37

In my codebase I have two functions which looks something like this:

void inside() {
  lock_guard lock(LOCK);
  cout << "Finished insi         


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