void write(mixed value)
Append a value to the end of the fifo. If there is no more room in the fifo the current thread will sleep until space is available.
read()