= private = protected
num_waiting()
Returns the number of threads waiting on the queue.
static VALUE rb_szqueue_num_waiting(VALUE self) { long len = queue_num_waiting(self); len += RARRAY_LEN(GET_SZQUEUE_WAITERS(self)); return ULONG2NUM(len); }