Volatile variable visibility to inner class

前端 未结 0 920
深忆病人
深忆病人 2021-01-17 09:47

I have a multiple-threaded code with a volatile flag into the class A. The code has an anonymous inner class B and I need to use this volatile flag to a new logic control in

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