summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-08-01 17:16:35 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-08-01 17:16:35 (GMT)
commitb0d81a985b3f707cc6228dd81e7ad1e6601b643b (patch)
tree4b9f52b103c0722290432c4974c687a9ae2b984e /generic/tclIO.h
parent5773d025383ed2c6186a6bcf53e118df17eaceef (diff)
parent4a9e78c1c81ac5ec6d37a5ead62ff57fa90b0875 (diff)
downloadtcl-b0d81a985b3f707cc6228dd81e7ad1e6601b643b.zip
tcl-b0d81a985b3f707cc6228dd81e7ad1e6601b643b.tar.gz
tcl-b0d81a985b3f707cc6228dd81e7ad1e6601b643b.tar.bz2
Backport the cheaper Preserve/Release on channels.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r--generic/tclIO.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index 59182ec..b4a5405 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -112,6 +112,8 @@ typedef struct Channel {
ChannelBuffer *inQueueHead; /* Points at first buffer in input queue. */
ChannelBuffer *inQueueTail; /* Points at last buffer in input queue. */
+
+ int refCount;
} Channel;
/*