cv.notify_all() is not returning in the main thread during shutdown

前端 未结 0 795
时光说笑
时光说笑 2020-11-30 01:28

I was implementing the producer consumer problem using a thread pool. I am using a mutex on the job_queue and a conditional variable to check if the queue has data. I am try

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