1 votes 1 votes Operating System operating-system process-synchronization semaphore binary-semaphore + – Vikrant Singh asked Feb 1, 2015 • recategorized Jun 17, 2022 by Lakshman Bhaiya Vikrant Singh 875 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes 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 See all 2 2 Comments reply Vikrant Singh commented Feb 1, 2015 reply Follow Share Is it always the case that we initialize binary semaphore to 1 for mutual exclusion? 1 votes 1 votes Anurag_s commented Feb 1, 2015 reply Follow Share Yes.. Coz while going inside process will call wait operation on semaphore to indicate that critical section is currently occupied. 1 votes 1 votes Please log in or register to add a comment.