getzcnt $sem->getzcnt(sem) Returns the number of processes waiting for the semaphore sem to become zero.