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. HI, like some guys in this tutorial I get this pro
View Tutorial          By: omar carpio at 2009-09-06 13:17:37

2. How about using stack in microprocessor subj.??? d
View Tutorial          By: Private at 2015-08-18 01:43:18

3. Error loading win32com: java.lang.UnsatisfiedLinkE
View Tutorial          By: Dinesh557 at 2008-09-23 04:18:47

4. I did not get the same result for memcpy - e and f
View Tutorial          By: dml at 2012-01-02 13:32:20

5. Very usefull info.. Thank alot
View Tutorial          By: Srikanth at 2012-09-04 15:44:30

6. Was useful
View Tutorial          By: Vasan at 2008-06-22 05:04:20

7. That's a very nice and simple article,
Tha

View Tutorial          By: Mohsen at 2009-10-11 03:07:18

8. Thank you, saved my life
View Tutorial          By: Zs at 2013-04-13 22:51:54

9. sir... i made a program just like that ... but the
View Tutorial          By: David at 2010-07-08 03:34:13

10. This website is great for the students who want to
View Tutorial          By: Parth Patalia at 2009-11-19 21:09:24