Java producer consumer stop consumer threads

后端 未结 0 1542
我在风中等你
我在风中等你 2020-11-29 01:07

I have this piece of code and I want a good method to stop the consumer threads:

import java.util.ArrayDeque;
import java.util.Queue;
import java.util.concurr         


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