Extracted from Pike v8.0 release 240 as of 2016-05-30.
Method Thread.Queue()->try_read()
Method
try_read
mixed try_read()
Description
This function retrieves a value from the queue if there is any
there. Values will be returned in the order they were written.
If there are no values present in the fifo then UNDEFINED
will be returned.