Pike v8.0 release 1738

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.

See also

write()