Question d’entretien chez SeaChange

How would you use a countable semaphore?