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
What are the different methods of identifying an object?
Write a singleton program?
How are commas used in the intialization and iteration parts of a for statement?
difference between ejb,struts,hibernate,spring and jsp
Why does the tag url-encode javascript and mailto links?
What is table mutation and how do you avoid it?
What do you mean by Socket Programming?
What is a tasks priority and how is it used in scheduling?
Name the class that is used to bind the server object with RMI Registry?
Name three component subclasses that support painting?
Can we sent objects using Sockets?
What is an abstract method?
What method is invoked to cause an object to begin executing as a separate thread?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is Remote Server?