Java Design Patterns Question:

Explain about semaphores?

Tweet Share WhatsApp

Answer:

They are mostly used as concurrency control constructs. They adhere and support Sync interface and conform to acquire release protocol. It adheres to a set of permits initialized in a constructor. A semaphore can also be described on the basis of a metaphor.

Download Java Patterns PDF Read All 29 Java Patterns Questions
Previous QuestionNext Question
Explain about locks?Explain about Template method?