summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-30 00:22:33 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-30 00:22:33 (GMT)
commit2e1ca1d9e14de68527cb660bb11fb459fdb8f01e (patch)
treed2dc37bdf103c9c34253a78fb34ee5b67760bbf0 /generic/tclIO.h
parent397413cd716cc73ca6291b8ba67c1c1950624fd2 (diff)
downloadtcl-2e1ca1d9e14de68527cb660bb11fb459fdb8f01e.zip
tcl-2e1ca1d9e14de68527cb660bb11fb459fdb8f01e.tar.gz
tcl-2e1ca1d9e14de68527cb660bb11fb459fdb8f01e.tar.bz2
Reduce the cost of 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 097cd61..ca74c3e 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;
/*