¡@

Home 

java Programming Glossary: testvalue1

using volatile keyword

http://stackoverflow.com/questions/2644771/using-volatile-keyword

changed. class ExampleThread extends Thread private int testValue1 private volatile int testValue public ExampleThread String str.. public void run if getName .equals Thread 1 testValue 10 testValue1 10 System.out.println Thread 1 testValue1 testValue1 System.out.println.. 1 testValue 10 testValue1 10 System.out.println Thread 1 testValue1 testValue1 System.out.println Thread 1 testValue testValue if..