method

num_waiting

ruby latest stable - Class: Queue
num_waiting()
public

Returns the number of threads waiting on the queue.