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
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.
Do you think that java should have had pointers?
What is the difference between java class and bean?
What is the relationship between an event-listener interface and an event-adapter class?
How task's priority is used in scheduling?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is in-memory replication?
What is colon_pkg_prefixes and what is its use?
If your ui seems to freeze periodically, what might be a likely reason?
Can we sent objects using Sockets?
What is the difference between ear, jar and war file?
What modifiers may be used with an interface declaration?
Will the general public have access to the infobus apis?
What restrictions are placed on the values of each case of a switch statement?
What is a clone?