Sunday 11 March 2012

Two Types of Semaphores


  • Counting semaphore – integer value can range over an unrestricted domain.
  • Binary semaphore – integer value can range only between 0 and 1; can be simpler to implement.
  • Can implement a counting semaphore S as a binary semaphore.

No comments:

Post a Comment