diff options
author | andreas_kupries <andreas_kupries@noemail.net> | 2008-04-07 22:53:07 (GMT) |
---|---|---|
committer | andreas_kupries <andreas_kupries@noemail.net> | 2008-04-07 22:53:07 (GMT) |
commit | 92e73018aa0b807a3a306b6af571a5d9b1f2c2cc (patch) | |
tree | 1ff321a7f8c010dfc7bee7ae53a10d5ec5a7aef5 /generic/tclIO.h | |
parent | 2069c1371efbf6eb44c811e35f0477714d78a09c (diff) | |
download | tcl-92e73018aa0b807a3a306b6af571a5d9b1f2c2cc.zip tcl-92e73018aa0b807a3a306b6af571a5d9b1f2c2cc.tar.gz tcl-92e73018aa0b807a3a306b6af571a5d9b1f2c2cc.tar.bz2 |
* tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.
* tests/chanio.test:
* generic/tclIO.c: Additional changes to data structures for fcopy
* generic/tclIO.h: and channels to perform proper cleanup in case
of a channel having two background copy operations running as is
now possible.
FossilOrigin-Name: 8b118596fbb006f6cc13ef7e2b5897cc16c8e4c6
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index 411f48d..662d631 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIO.h,v 1.11 2007/12/13 15:23:18 dgp Exp $ + * RCS: @(#) $Id: tclIO.h,v 1.12 2008/04/07 22:53:08 andreas_kupries Exp $ */ /* @@ -219,7 +219,8 @@ typedef struct ChannelState { * handlers ("fileevent") on this channel. */ int bufSize; /* What size buffers to allocate? */ Tcl_TimerToken timer; /* Handle to wakeup timer for this channel. */ - CopyState *csPtr; /* State of background copy, or NULL. */ + CopyState *csPtrR; /* State of background copy for which channel is input, or NULL. */ + CopyState *csPtrW; /* State of background copy for which channel is output, or NULL. */ Channel *topChanPtr; /* Refers to topmost channel in a stack. Never * NULL. */ Channel *bottomChanPtr; /* Refers to bottommost channel in a stack. |