Tags » Shared Memory

Models of Interprocess Commuincation

Q1. What are the two models of Interprocess Communication?

Ans. The two models of interprocess communication are:

  1. Message Passing
  2. Shared Memory (mail boxes)

Disabling Interrupt for Mutual Exclusion

Q1. Explain Disabling Interrupt for mutual exclusion and also mention its disadvantages.

Ans. Solution is to have each process disable all interrupts just after entering its critical region and re-enable them just before leaving it. 132 more words

Race Condition

Q1. What is meant by ‘Race Condition’? How do they occur?

Ans. In some operating systems, processes that are working together may share some common storage that each one can read and write. 398 more words