I expect endless loop,but not,why?

后端 未结 0 778
盖世英雄少女心
盖世英雄少女心 2020-12-04 00:46

code like this

for test two case

one is have volatile keywords ,can stop

other is without volatile,the thread enless loop

public class Vo         


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