operating system h

salimham1
  1. Define “Race Condition”?
  2. That is the “critical section problem”?
  3. With respect to “synchronization”, what is the difference between preemptive and non-preemptive kernels

Proposed solutions to the critical section were either Software or Hardware solutions. Give an example for a proposed software solution and one for a proposed hardware solution to the critical section problem. 

A)

B) 

 

2. Proposed solutions for the critical section problem mostly utilize busy waiting. Give an advantage and a disadvantage to the Busy Waiting aspect of these solutions.

A)

B) 

3. Define the following:

      1. Binary semaphore: ________________________________________________________________

_______________________________________________________________________________  

b. Counting semaphore: ______________________________________________________________ 

_______________________________________________________________________________

c. Mutex lock:

    • 10 years ago
    • 5
    Answer(0)
    Bids(0)