Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Thread
Thread.Fifo

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()