How to terminate a persistent thread in Java?

前端 未结 0 957
醉梦人生
醉梦人生 2020-12-29 17:00

I want to create a thread to judge user code:

FutureTask futureTask = new FutureTask(() -> run(type));  // run is a method
Thread thread = n         


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