Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

we have two threads..both the threads are reading the
data.. is there any need of synchronization
there?...justify it?

Answer Posted / ysr

It depends upon the data.
where the data is chngable by threads at that time we need
to apply the synchronization.
if the data is purly static data no need to protect the
databy using synchronization. why because if we apply
(synchronization) each and every time there is a
performance degradation is there.
Time factor(it will take more time)

Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is continuity of a function?

1134


What is the longest unicode character?

1201


How we can declare a static variable?

1151


What is append function?

1056


What is an empirical question?

1020


What is a marker interface?

1225


What restrictions are placed on method overloading?

1230


Differentiate between array list and vector in java.

1157


Which keyword specify that a variable is effectively final ?

1047


What is the purpose of a parameter?

1135


How do I start learning java?

1127


What is data member in java?

1148


Which package is always imported by default?

1144


How do you replace all in word?

1131


Is set ordered in java?

1036