Comment on Tutorial - Transient vs Volatile modifiers in Java By Reema sen



Comment Added by : Jeremy

Comment Added at : 2010-01-13 23:02:11

Comment on Tutorial : Transient vs Volatile modifiers in Java By Reema sen
You should consider using different threads that are not instantiated from the same class, but different classes. The volatile keyword does not work. The only workaround is to use another moitor class. I will try to sync and see if thqat will help.

View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Thank you very much. Now I know how to make an abs
View Tutorial          By: Alex at 2011-01-17 03:35:22

2. Very cool one, thanks, got the concept clear
View Tutorial          By: black boot at 2010-04-18 08:20:20

3. Hi,

I have tried with your script a

View Tutorial          By: Ivan at 2011-09-08 21:17:36

4. great explaination !!!
View Tutorial          By: aman at 2012-10-02 06:55:55

5. Your solution is really helped me. Thanks for your
View Tutorial          By: Rajakumar at 2010-05-31 06:05:53

6. nice
View Tutorial          By: udhay at 2011-04-01 02:48:25

7. Hi guys, What is the best way to connect to mysql
View Tutorial          By: veron at 2010-09-11 16:13:25

8. very nice..!
View Tutorial          By: neeraj at 2012-04-21 11:12:08

9. Hi all, i have tried above code, but am getting fo
View Tutorial          By: swathi at 2010-06-24 05:18:28

10. This code rocks!! any one having any trouble shoul
View Tutorial          By: Ankur at 2010-01-22 06:37:10