FutureTask Implementation re-read state to prevent leaked intrupts

后端 未结 0 662
孤街浪徒
孤街浪徒 2020-12-14 12:25

Here is the implementation of some methods of FutureTask in Java:

run method:

public void run() {
    if (state != NEW ||
            


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