What is synchronization?
Answers were Sorted based on User's Feedback
Answer / janet
Synchronization is the mechanism that ensures that only one
thread is accessed the resource at a time.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / mahipal reddy.kaitha
 Synchronized keyword can be applied to methods or
parts of the methods only.
 Synchronize keyword is used to control the access
to critical code in multi-threaded programming.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ranjani
It is a mechanism which is used to provide the priority for
multiple thread programs to avoid the deadlock condition.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / devarathnam c,kotagudibanda(po
Hi...
Synchronization:It is a mechanism of controlling the shared
resource againist the multiple processes inorder to provide
the concurrent access.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
Answer / nadesh.k
It is a mechanism which is used to provide the priority for
multiple thread programs to avoid the deadlock condition.
Is This Answer Correct ? | 2 Yes | 0 No |
Why won’t the jvm terminate when I close all the application windows?
explain session tracking. why we used it
Do I have to use jsps with my application?
What are the types of data passing mechanisams under JMS specification?
Explain phantom read?
What is Servlet Filter And What does it work?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
What is mdb and what is the special feature of that?
Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
which type of objects reference will be given to client?
What are the various thread priorities?