InterviewSolution
| 1. |
Describe Synchronization In Respect To Multithreading? |
|
Answer» With RESPECT to multithreading, synchronization is the capability to CONTROL the access of multiple THREADS to shared resources. Without synchronization, it is possible for one THREAD to modify a shared variable while ANOTHER thread is in the process of using or updating same shared variable. This usually leads to significant errors. With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared variable while another thread is in the process of using or updating same shared variable. This usually leads to significant errors. |
|