diff options
author | dgp <dgp@users.sourceforge.net> | 2014-08-01 17:16:35 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-08-01 17:16:35 (GMT) |
commit | bed95cfaf7e04f2ec6f84d55b0c45838bfba6be5 (patch) | |
tree | 4b9f52b103c0722290432c4974c687a9ae2b984e /generic/tclIO.h | |
parent | 1db9d005b60fedd68e3de574d077de4be163f602 (diff) | |
parent | fd5a54c8dd66798f9562fa5738b16d8531ca9097 (diff) | |
download | tcl-bed95cfaf7e04f2ec6f84d55b0c45838bfba6be5.zip tcl-bed95cfaf7e04f2ec6f84d55b0c45838bfba6be5.tar.gz tcl-bed95cfaf7e04f2ec6f84d55b0c45838bfba6be5.tar.bz2 |
Backport the cheaper Preserve/Release on channels.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 2 |
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; /* |