Method: Thread::Queue#push

Defined in:
thread_sync.c

#push(object) ⇒ Object #enq(object) ⇒ Object #<<(object) ⇒ Object Also known as: enq, <<

Pushes the given object to the queue.



1024
1025
1026
1027
1028
# File 'thread_sync.c', line 1024

static VALUE
rb_queue_push(VALUE self, VALUE obj)
{
    return queue_do_push(self, queue_ptr(self), obj);
}