Is there a concurrency problem with java's run method

后端 未结 0 1561
傲寒
傲寒 2020-12-25 11:20

In my opinion, run method in Thread is invoked by jvm, is there a concurrency problem? when I read FutureTask\'s source code, I found it use CAS to set current thread. Why c

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