2 votes 2 votes Which of the following statements about semaphores is true? $P$ and $V$ operations should be indivisible operations. A semaphore implementation should guarantee that threads do not suffer indefinite postponement. If several threads attempt a $P(S)$ operation simultaneously, only one thread should be allowed to proceed. All of the above. Operating System nielit2016dec-scientistb-it operating-system process-synchronization + – admin asked Mar 31, 2020 retagged Aug 23, 2020 by Lakshman Bhaiya admin 11.6k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
3 votes 3 votes wait and signal both are different individual operation ,in second point talk about deadlock or starvation which semaphore guaranteed and third point talk about mutual exclusion so all points are correct Option (D) All of the above abhishek tiwary answered May 7, 2020 abhishek tiwary comment Share Follow See all 2 Comments See all 2 2 Comments reply sukesh_reddy commented Jun 16, 2021 reply Follow Share what is meant by individual operations here(in the first option) ? actually semaphores should be executed atomically dose this mean individual here. 0 votes 0 votes s_dr_13 commented Mar 30, 2022 reply Follow Share Yes indivisible means atomic here 0 votes 0 votes Please log in or register to add a comment.