Returns the length of the queue.
1161 1162 1163 1164 1165
# File 'thread_sync.c', line 1161 static VALUE rb_queue_length(VALUE self) { return LONG2NUM(queue_length(self, queue_ptr(self))); }