Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Thread::SizedQueue#max
() -> ::Integer
max
thread_sync.c
View on GitHub ↗
static VALUE
rb_szqueue_max_get(VALUE self)
{
return LONG2NUM(szqueue_ptr(self)->max);
}
Returns the maximum size of the queue.