Counting and Binary Semaphore

Explain what is meant by the term Counting Semaphore and Binary Semaphore?

E

Expert

Verified

Counting Semaphore:

A Counting Semaphore is defined as a semaphore integer value of whose generally ranges between 0 and 1.

Binary Semaphore:

A Binary Semaphore is defined as a semaphore having the integer value which generally ranges between 0 and 1. It may be simpler to execute as compared to the counting semaphore, depending upon the underlying hardware architecture.

   Related Questions in Operating System