1 1 vote Operating System operating-system process-synchronization semaphore binary-semaphore + – Vikrant Singh 1.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote In case of 0 it blocks the calling process. It should be 1 Anurag_s answered Feb 1, 2015 Anurag_s comment Share Follow See all 2 Comments 2 2 Comments reply Vikrant Singh commented Feb 1, 2015 reply Follow flag Is it always the case that we initialize binary semaphore to 1 for mutual exclusion? 1 1 replyShare Anurag_s commented Feb 1, 2015 reply Follow flag Yes.. Coz while going inside process will call wait operation on semaphore to indicate that critical section is currently occupied. 1 1 replyShare Please log in or register to add a comment.