Extracted from Pike v8.0 release 276 as of 2016-07-29.
   

Method Thread.Queue()->read()


Method read

mixed read()

Description

This function retrieves a value from the queue. Values will be returned 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

try_read(), write()