Available methods in synchronization ?

Questions by sudhakar_bvr   answers by sudhakar_bvr

Showing Answers 1 - 8 of 8 Answers

Narasimha Rao Konjeti

  • Jun 15th, 2006
 

ZERO

  Was this answer useful?  Yes

sonia

  • Jun 21st, 2006
 

It is a process of ensuring that if two or more threads are using  a shared resource then only one thread get access to that shared resource at a time.

Synchronization contains empty implementation, so no method is used.

In this two threads cannot use the same resource simultaneously beacuse the thread execution gets interrupted or terminated hence only a single thread can share resource at a time.

  Was this answer useful?  Yes

dhayasinfo

  • Jul 16th, 2012
 

Synchronization is a process by using Synchronize keyword to prevent the dead lock. This can be used in methods or block to prevent two threads to access the same resource in the same time.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions