top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is process synchronization ?

+3 votes
295 views
What is process synchronization ?
posted Dec 6, 2014 by Vikram Singh

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

When two or more processes try to access and modify the same data, some inconsistency may occur in the system due to this race condition. To avoid this race condition and get the correct value of data, process synchronization is necessary.

answer Dec 7, 2014 by Ganesh
0 votes

Process synchronization is required when one process must wait for another to complete some operation before proceeding. For example, one process (called a writer) may be writing data to a certain main memory area, while another process (a reader) may be reading data from that area and sending it to the printer. The reader and writer must be synchronized so that the writer does not overwrite.

answer Dec 7, 2014 by Salil Agrawal
...