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
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. Please provide web.xml file for this example
View Tutorial By: Girish at 2009-03-08 22:53:03
2. i need the code
View Tutorial By: C.Ajith Franklin at 2010-05-05 06:04:40
3. Very good explanation along with the example. Can
View Tutorial By: Divya at 2010-09-21 03:05:10
4. Hi Friends.... Can you please send the working ver
View Tutorial By: shafi at 2010-02-18 08:28:49
5. i am getting d following error:-
Se
View Tutorial By: nikitha at 2013-02-07 09:23:12
6. Hello,
I have downloaded this code
View Tutorial By: Parthasarathi at 2009-09-21 02:09:49
7. Except for when you're programming low level hardw
View Tutorial By: Jonathan H at 2012-05-10 08:46:48
8. Very Nice Explanation.
View Tutorial By: Anuj Bansal at 2012-08-25 12:23:59
9. Thanks - very useful!
View Tutorial By: Adam Musial-Bright at 2010-02-28 06:14:39
10. good example tnq...........
View Tutorial By: SaidiReddy at 2012-06-09 12:03:09