Pike v8.1 release 6

Method Thread.Fifo()->try_read()


Method try_read

mixed try_read()

Description

This function retrieves a value from the fifo 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

read()