ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What is multithreaded program? What is the importance of thread synchronization?

A multithreaded program involves multiple threads of control in a single program. Each thread has its own stack. Other resources of the process are shared by all threads and while trying to access them it should be synchronized.

 

Importance of thread synchronization:

Avoids issues like deadlocks and starvation

Can be used for de bugging multi threaded programs

 

Related Posts Plugin for WordPress, Blogger...
Flag Counter