Designing a threadsafe queue that has RAII semantics

前端 未结 0 819
北恋
北恋 2021-01-19 10:35

I am trying to make a thread safe queue in C++17 based on condition variables.

How do I correctly interrupt the WaitAndPop() method in the queue\'s destr

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