|
NAMEfifo - Create and manipulate u-turn fifo channelsSYNOPSISpackage require Tclpackage require memchan fifo DESCRIPTION
Memory channels created by fifo provide two read-only options which can be queried via the standard fconfigure command. These are
As the channels generated by fifo grow as necessary they are always writable. This means that a writable fileevent-handler will fire continuously. The channels are also readable if they contain more than zero bytes. Under this conditions a readable fileevent-handler will fire continuously. NOTESOne possible application of memory channels created by memchan or fifo is as temporary storage device to collect data coming in over a pipe or a socket. If part of the processing of the incoming data is to read and process header bytes or similar fifo are easier to use as they do not require seeking back and forth to switch between the assimilation of headers at the beginning and writing new data at the end.SEE ALSOfifo2, memchan, nullKEYWORDSchannel, fifo, i/o, in-memory channel, memchan, streamCOPYRIGHTCopyright (c) 1996-2003 Andreas Kupries <andreas_kupries@users.sourceforge.net>
Visit the GSP FreeBSD Man Page Interface. |