Page 1 of 1

8) Two process A and B approach a critical section CS protected by a binary semaphore. Processes a and b arrive at times

Posted: Thu Jul 14, 2022 2:07 pm
by answerhappygod
8 Two Process A And B Approach A Critical Section Cs Protected By A Binary Semaphore Processes A And B Arrive At Times 1
8 Two Process A And B Approach A Critical Section Cs Protected By A Binary Semaphore Processes A And B Arrive At Times 1 (45.16 KiB) Viewed 44 times
8 Two Process A And B Approach A Critical Section Cs Protected By A Binary Semaphore Processes A And B Arrive At Times 2
8 Two Process A And B Approach A Critical Section Cs Protected By A Binary Semaphore Processes A And B Arrive At Times 2 (45.16 KiB) Viewed 44 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.