2 votes 2 votes Procedures $P1$ and $P2$ have a producer-consumer relationship, communicating by the use of a set of shared buffers. $P1$: repeat Obtain an empty buffer Fill it Return a full buffer forever $P2$: repeat Obtain a full buffer Empty it Return an empty buffer forever Increasing the number of buffers is likely to do which of the following? Increase the rate at which requests are satisfied (throughput) Decrease the likelihood of deadlock Increase the ease of achieving a correct implementation III only II only I only II and III only Operating System isro2018 process-synchronization operating-system + – Arjun asked Apr 22, 2018 edited Jan 4, 2020 by `JEET Arjun 3.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes (C) I Only is correct. Increasing the memory size increases the rate at which requests are satisfied but can not alter the possibility of deadlock and neither does it play any role in implementation. shahidhope answered Apr 25, 2018 shahidhope comment Share Follow See 1 comment See all 1 1 comment reply bthebestSelf commented Jan 1, 2021 reply Follow Share How deadlock can occur in this implementation? Because I am not able to figure out any kind of locking system which can cause deadlock 0 votes 0 votes Please log in or register to add a comment.