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



Comment Added by : karthikeyan

Comment Added at : 2009-09-18 04:50:37

Comment on Tutorial : Transient vs Volatile modifiers in Java By Reema sen
Hi thanks for your information.

I got simple solution for my breath taking problem.

I am programming using java communication API with Serial port.
There data is recieved very fastly.Each time we have to get data in multi threading. It is very tedious to get all information sometimes.

Solution:
By using my variable with volatile i have fixed my problem.And my application is running with 100%.


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. example is ok, but plz increases the standard of e
View Tutorial          By: venky at 2009-05-19 01:29:04

2. <%!
DateFormat date = DateFormat.getDat

View Tutorial          By: saifuctg at 2011-12-30 22:24:54

3. nice
View Tutorial          By: ravi at 2010-11-26 02:46:56

4. Very Nice and Perfectly Understandable.....
View Tutorial          By: rex at 2015-04-16 12:27:03

5. When run this code then I am getting a blank page.
View Tutorial          By: Paritosh Chandra Dey at 2013-08-14 08:55:42

6. # include <iostream.h>
void main()
View Tutorial          By: Ali Jafar at 2011-09-18 03:47:47

7. can anyone tell me which type of device i need to
View Tutorial          By: dhanunjay at 2009-04-01 00:31:17

8. you can see this page: http://devlinslab.blogspot.
View Tutorial          By: luis at 2011-11-08 06:46:23

9. Yes Left shift result is wrong its like
5

View Tutorial          By: Ragunath k at 2010-05-10 04:45:33

10. Hi divya, You will have to edit the SerialParamete
View Tutorial          By: Ramlak at 2008-04-27 05:54:47