Course Solutions Uncategorized (Solved) : Assume Two Processes P1 P2 P1 High Priority P2 Low Priority P1 P2 One Shared Semaphore E C Q34240557 . . . .

(Solved) : Assume Two Processes P1 P2 P1 High Priority P2 Low Priority P1 P2 One Shared Semaphore E C Q34240557 . . . .

 

Assume you have two processes, P1 and P2. P1 has a highpriority, P2 has a low priority. P1 and P2 have one sharedsemaphore (i.e., they both carry out waits and posts on the samesemaphore). The processes can be interleaved in any arbitrary order(e.g. P2 could be started before P1).

           i.           Explain the problem with priority inversion

Briefly explainwhether the processes could deadlock when:

           ii.both processes run on a Linux system as time sharing tasks

          iii.            both processes run on a Windows 7 system as variable tasks

          iv.            both processes run on a Windows 7 system as real-time tasks.

Expert Answer


An answer will

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post