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

how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2242


Do you think that java should have had pointers?

1058


What is the difference between java class and bean?

1086


What is the relationship between an event-listener interface and an event-adapter class?

1127


How task's priority is used in scheduling?

2300


How would you reatach detached objects to a session when the same object has already been loaded into the session?

1213


What is in-memory replication?

1064


What is colon_pkg_prefixes and what is its use?

2519


If your ui seems to freeze periodically, what might be a likely reason?

1042


Can we sent objects using Sockets?

1146


What is the difference between ear, jar and war file?

1139


What modifiers may be used with an interface declaration?

1137


Will the general public have access to the infobus apis?

1047


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

1020


What is a clone?

1061