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. Hi Binod,

Since JSP code is execute

View Tutorial          By: Aathi at 2009-05-28 21:20:10

2. this work is good
View Tutorial          By: sanath at 2008-12-15 01:18:43

3. Thank you......
View Tutorial          By: Suvadip at 2013-04-19 05:11:51

4. Nice info. I must say about this post.
than

View Tutorial          By: Ganesh Prasad at 2012-10-30 05:51:49

5. hey plz tell me... can the sequenceinputstream be
View Tutorial          By: gaurav at 2010-08-18 17:21:58

6. hi there, i was testing your code-samples,

View Tutorial          By: Douglas at 2011-04-07 22:35:56

7. the discussion is not enogh
View Tutorial          By: gulstan at 2011-03-27 03:47:24

8. How do use qsort to sort lines in text file?
View Tutorial          By: kenny at 2008-11-18 08:59:55

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

10. Hello,

When I put the source code i

View Tutorial          By: Pascal at 2013-03-25 09:12:47