Hi all,
I know that you need to use volatile modifier if the variable is being used by two or more threads simultaneously. But in an example even if I am not using volatile and if i change that variable it gets notified into other
thread. Does JDK 1.4 use other technoques to handle shared variables? BTW i m not using any synchronized block. not even System.out.println()...
I m using JDK 1.4.2 and Eclipse 3.0. any insight will b helpful.
thanks