| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Thread
Thread.Queue

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

Method read_array

  `array read_array()`

Description

  This function returns all values in the queue as an array. The values in the array will be in the order they were written. If there are no values present in the queue the current thread will sleep until some other thread writes one.

See also

  read() , try_read_array()