summaryrefslogtreecommitdiffstats
path: root/generic/tclIORTrans.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-24 10:05:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-24 10:05:50 (GMT)
commit3186e522afae18a8fe8e1513d4a9e27500486613 (patch)
treeaab209c5964341792f32189bac2d3ddc546f2328 /generic/tclIORTrans.c
parente859f7d69ec73922d1dbdfaa19df6e7f0b82c593 (diff)
parent78bbbde35c3f53764827e54afe963af4ea244aa4 (diff)
downloadtcl-3186e522afae18a8fe8e1513d4a9e27500486613.zip
tcl-3186e522afae18a8fe8e1513d4a9e27500486613.tar.gz
tcl-3186e522afae18a8fe8e1513d4a9e27500486613.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclIORTrans.c')
-rw-r--r--generic/tclIORTrans.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/generic/tclIORTrans.c b/generic/tclIORTrans.c
index 6c9a41b..fd25f2d 100644
--- a/generic/tclIORTrans.c
+++ b/generic/tclIORTrans.c
@@ -439,13 +439,6 @@ static const char *msg_dstlost =
*/
/*
- * Number of milliseconds to wait before firing an event to try to flush out
- * information waiting in buffers (fileevent support).
- */
-
-#define FLUSH_DELAY (5)
-
-/*
* Helper functions encapsulating some of the thread forwarding to make the
* control flow in callers easier.
*/
@@ -1230,7 +1223,7 @@ ReflectInput(
*
* ReflectOutput --
*
- * This function is invoked when data is writen to the channel.
+ * This function is invoked when data is written to the channel.
*
* Results:
* The number of bytes actually written.
@@ -2861,7 +2854,7 @@ TimerSetup(
return;
}
- rtPtr->timer = Tcl_CreateTimerHandler(FLUSH_DELAY, TimerRun, rtPtr);
+ rtPtr->timer = Tcl_CreateTimerHandler(0, TimerRun, rtPtr);
}
/*