Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Thread::Queue#push
(Elem obj) -> void
push(object)
thread_sync.c
View on GitHub ↗
static VALUE
rb_queue_push(VALUE self, VALUE obj)
{
return queue_do_push(self, queue_ptr(self), obj);
}
Pushes the given object to the queue.