win32/deps/ruby211/ext/thread/thread.c
/*
 * Document-method: Queue#pop
 * call-seq:
 *   pop(non_block=false)
 *   deq(non_block=false)
 *   shift(non_block=false)
 *
 * Retrieves data from the queue.
 *
 * If the queue is empty, the calling thread is suspended until data is pushed
 * onto the queue. If +non_block+ is true, the thread isn't suspended, and an
 * exception is raised.
 */


Retrieves data from the queue.

If the queue is empty, the calling thread is suspended until data is pushed
onto the queue. If +non_block+ is true, the thread isn't suspended, and an
exception is raised.
Retrieves data from the queue . If the queue is empty the calling thread is suspended until data is pushed onto the queue . If + non_block + is true the thread isn ' t suspended and an exception is raised .
static VALUE
rb_queue_pop(int argc, VALUE *argv, VALUE self)
{
    VALUE should_block = queue_pop_should_block(argc, argv);
    return queue_do_pop(self, should_block);
}
static VALUE rb_queue_pop ( int argc , VALUE * argv , VALUE self ) { VALUE should_block = queue_pop_should_block ( argc , argv ) ; return queue_do_pop ( self , should_block ) ; }
Document-method: Queue#pop
 call-seq:
   pop(non_block=false)
   deq(non_block=false)
   shift(non_block=false)
Document - method : Queue#pop call - seq : pop ( non_block = false ) deq ( non_block = false ) shift ( non_block = false )