2 votes 2 votes Say I have a Binary Semaphore S initialized to 1. Consider V() as Signal and P() as Wait. If I now invoke V(S), will it wait for S to become 0? Or will it go on with further execution without making any changes to S? Warlock lord asked Jan 7, 2018 Warlock lord 1.3k views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments Warlock lord commented Jan 7, 2018 reply Follow Share thank you :) 1 votes 1 votes Ekta07_GATE commented Mar 22, 2020 reply Follow Share Please provide book name, where pseudocode of binary semaphore present. Thankyou in advance. 0 votes 0 votes Ekta07_GATE commented Mar 22, 2020 reply Follow Share From where you took this. Please clarify. @joshi_nitish Thankyou in advance. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes When we perform any operation on a binary semaphore untill that operation is performed completely the process will wait untill a value is encountered on which the given semaphore operation can be performed . In the given question in the binary semaphore S untill it becomes 0 the signal operation can't be done and unless that statement is executed the control will not move on to the following statement. anjali007 answered May 8, 2018 anjali007 comment Share Follow See 1 comment See all 1 1 comment reply 2019_Aspirant commented Jan 9, 2019 reply Follow Share The comment says otherwise. 0 votes 0 votes Please log in or register to add a comment.