Method: SizedQueue#max

Defined in:
thread_sync.c

#maxObject

Returns the maximum size of the queue.

[View source]

1172
1173
1174
1175
1176
# File 'thread_sync.c', line 1172

static VALUE
rb_szqueue_max_get(VALUE self)
{
    return LONG2NUM(szqueue_ptr(self)->max);
}