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...

What is synchronization?

Answer Posted / akshay

If there is a portion of code within a method or the
complete method that can be accessed by multiple threads,
that section of code is called critical section. To make
sure that only one thread can access critical section at a
time, we synchronize critical section. Synchronization is
the keyword to avoid concurrent access to critical section
of the code.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about local interfaces.

1053


Explain the different types of memory used by jvm?

1140


What is JTS?

2365


What happens when a thread cannot acquire a lock on an object?

1031


What is the difference between the session.update() method and the session.lock() method?

996


Where can I ask questions and make suggestions about seam?

1055


Can I map more than one table in a cmp?

1072


Can I import same package/class twice? Will the jvm load the package twice at runtime?

1138


What restrictions are placed on the values of each case of a switch statement?

1005


what is an isolation level?

2750


What are the different class loaders used by jvm?

1093


why static class in java

1763


What is the form of storage space in java?

2240


Are enterprise beans allowed to use thread.sleep()?

1144


What is ripple effect?

1066