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