diff options
author | vasiljevic <vasiljevic@noemail.net> | 2005-10-13 20:40:47 (GMT) |
---|---|---|
committer | vasiljevic <vasiljevic@noemail.net> | 2005-10-13 20:40:47 (GMT) |
commit | 2271555a5ba721f3e34a86795df869601b3d765f (patch) | |
tree | e5516ce0f76dc7a0108cbebf97cc09727d82bcb6 /generic/tclIO.c | |
parent | e8032660c4846d855fab753355397292676b691e (diff) | |
download | tcl-2271555a5ba721f3e34a86795df869601b3d765f.zip tcl-2271555a5ba721f3e34a86795df869601b3d765f.tar.gz tcl-2271555a5ba721f3e34a86795df869601b3d765f.tar.bz2 |
Temporary ifdef TCL_THREADS changes done to de-activate pending
event processing when channel is being closed/cutted.
FossilOrigin-Name: 0c54954fc0b0ab154f044c4e74141bb7b0188281
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index ccc107b..208fb69 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -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.c,v 1.61.2.12 2005/10/04 18:15:09 vasiljevic Exp $ + * RCS: @(#) $Id: tclIO.c,v 1.61.2.13 2005/10/13 20:40:48 vasiljevic Exp $ */ #include "tclInt.h" @@ -2710,7 +2710,14 @@ Tcl_ClearChannelHandlers (channel) */ statePtr->interestMask = 0; + + /* + * TEMPORARILY DEFINED FOR THREADED BUILD ONLY. SEE SF BUG# 1323992 + */ + +#ifdef TCL_THREADS (chanPtr->typePtr->watchProc)(chanPtr->instanceData, 0); +#endif /* * Remove any EventScript records for this channel. |