| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Thread
Thread.Queue

# Method Thread.Queue()->peek_array()

Method peek_array

  `array peek_array()`

Description

  Returns a snapshot of all the values in the queue, in the order they were written. The values are still left in the queue, so if other threads are reading from it, the returned value should be considered stale already on return.