1tcl::chan::fifo(n)     Reflected/virtual channel support    tcl::chan::fifo(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       tcl::chan::fifo - In-memory fifo channel
9

SYNOPSIS

11       package require Tcl  8.5
12
13       package require TclOO
14
15       package require tcl::chan::events  ?1?
16
17       package require tcl::chan::fifo  ?1?
18
19       ::tcl::chan::fifo
20
21______________________________________________________________________________
22

DESCRIPTION

24       The  tcl::chan::fifo package provides a command creating channels which
25       live purely in memory. Access is fifo-like, i.e. things are read out of
26       the  channel  in the order they were written to it.  This is equivalent
27       to the fifo channels provided by the package Memchan, except that  this
28       is  written  in  pure  Tcl, not C. On the other hand, Memchan is usable
29       with Tcl 8.4 and before, whereas  this  package  requires  Tcl  8.5  or
30       higher, and TclOO.
31
32       The  internal  TclOO  class  implementing the channel handler is a sub-
33       class of the tcl::chan::events framework.
34

API

36       ::tcl::chan::fifo
37              This command creates a new fifo channel and returns its handle.
38

BUGS, IDEAS, FEEDBACK

40       This document, and the package it describes, will  undoubtedly  contain
41       bugs  and other problems.  Please report such in the category virtchan‐
42       nel  of  the  Tcllib  Trackers  [http://core.tcl.tk/tcllib/reportlist].
43       Please  also  report any ideas for enhancements you may have for either
44       package and/or documentation.
45
46       When proposing code changes, please provide unified diffs, i.e the out‐
47       put of diff -u.
48
49       Note  further  that  attachments  are  strongly  preferred over inlined
50       patches. Attachments can be made by going  to  the  Edit  form  of  the
51       ticket  immediately  after  its  creation, and then using the left-most
52       button in the secondary navigation bar.
53

KEYWORDS

55       fifo, in-memory channel, reflected channel, tip 219, virtual channel
56

CATEGORY

58       Channels
59
61       Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
62
63
64
65
66tcllib                                 1                    tcl::chan::fifo(n)
Impressum