8) Two process A and B approach a critical section CS protected by a binary semaphore. Processes a and b arrive at times
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
8) Two process A and B approach a critical section CS protected by a binary semaphore. Processes a and b arrive at times
8) Two process A and B approach a critical section CS protected by a binary semaphore. Processes a and b arrive at times I and 2 consecutively. They both need to spend 2 ms each inside the CS. Explain the position at each point of time when each process calls P(s) or V(s) functions, which is in the CS and which is blocked in the Q, until both processes leave CS.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!