Technician Question:

Explain me what is a binary semaphore? What is its use?

Technician Interview Question
Technician Interview Question

Answer:

A binary semaphore is one, which takes only 0 and 1 as values. They are used to implement mutual exclusion and synchronize concurrent processes.


Previous QuestionNext Question
Tell me what is process spawning?Tell me what is page cannibalizing?