C++20 thread possibly waiting on std::atomic forever

后端 未结 0 405
名媛妹妹
名媛妹妹 2021-01-04 08:12

Consider the following example code where thread A pushes functions on a queue and thread B executes those when popping from the queue:



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