summaryrefslogtreecommitdiffstats
path: root/doc/close.n
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2012-04-28 17:03:10 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2012-04-28 17:03:10 (GMT)
commit39e076480d96baa096f628753c88b68eb9d7f601 (patch)
tree7124e2dc1c1842ef42b4b750e7f7fe117c7e07ae /doc/close.n
parented76f23a67ff725a3ef859435e72a1d809d53f8e (diff)
downloadtcl-39e076480d96baa096f628753c88b68eb9d7f601.zip
tcl-39e076480d96baa096f628753c88b68eb9d7f601.tar.gz
tcl-39e076480d96baa096f628753c88b68eb9d7f601.tar.bz2
Compat flag, test, and doc update.tip_398_impl
Diffstat (limited to 'doc/close.n')
-rw-r--r--doc/close.n6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/close.n b/doc/close.n
index 4490f6a..2826d82 100644
--- a/doc/close.n
+++ b/doc/close.n
@@ -48,8 +48,10 @@ When the last interpreter in which the channel is registered invokes
\fBinterp\fR command for a description of channel sharing.
.PP
Channels are automatically closed when an interpreter is destroyed and
-when the process exits. Channels are switched to blocking mode, to ensure
-that all output is correctly flushed before the process exits.
+when the process exits.
+.VS 8.6
+From 8.6 on (TIP#398), nonblocking channels are no longer switched to blocking mode when exiting; this guarantees a timely exit even when the peer or a communication channel is stalled. To ensure proper flushing of stalled nonblocking channels on exit, one must now either (a) actively switch them back to blocking or (b) use the environment variable TCL_FLUSH_NONBLOCKING_ON_EXIT, which when set and not equal to "0" restores the previous behavior.
+.VE 8.6
.PP
The command returns an empty string, and may generate an error if
an error occurs while flushing output. If a command in a command