Pike v8.0 release 1738

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.