This returns the number of threads waiting for a semaphore.
Definition at line 520 of file phSemaphore.cpp.