Memory channels 2.2 -- fifo2(n)
fifo2 - Create and manipulate pipe fifo channels
SYNOPSISpackage require Tcl
package require memchan
The command described here is only available in a not-yet released version of the package. Use the CVS to get the sources.
Memory channels created by fifo2 provide two read-only options which can be queried via the standard fconfigure command. These are
Note that the two lengths are switched for the channels of a pair. In other words, the number of bytes written for one of the channels is the number of bytes readable from the other end.
As the channels generated by fifo2 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.
SEE ALSOmemchan, fifo, null
KEYWORDSfifo, stream, memchan, in-memory channel, channel, i/o
|Last updated @ Mon Jan 20 14:15:59 PST 2003|
|Andreas Kupries||Last update at Mon Jan 20 14:21:51 PST 2003|