$sem->getncnt(sem)
sem
Returns the number of processes waiting for the semaphore sem to become greater than its current value.
Copyright © 2001 O'Reilly & Associates. All rights reserved.