semaphore

A semaphore is like a mutex except that while a mutex locks other threads out of available resources, a semaphore only signals that the resource is in use.