Question :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 synchonization, 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.
synchronization of processes, and synchronization of data.Process synchronization refers to the idea that multiple processes are to join up or handshake at a certain point, so as to reach an agreement or commit to a certain sequence of action.Data synchronization refers to the idea of keeping multiple copies of a dataset in coherence with one another, or to maintain data integrity.
ReplyDeletemore detail answer at
http://www.edugoing.com/qna/index.php?qa=94&qa_1=what-is-synchronization-in-respect-to-multi-threading