Pike v8.0 release 1738

Method Thread.Fifo()->read()


Method read

mixed read()

Description

This function retrieves a value from the fifo. Values will be returned in the order they were written. If there are no values present in the fifo the current thread will sleep until some other thread writes one.

See also

try_read(), read_array(), write()