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
PayPal Gateway not configured
PayPal Gateway not configured