summaryrefslogtreecommitdiffstats
path: root/doc
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)
commit97f7b29ec8d120aa5c156cf7c868feac2895e5fb (patch)
tree7124e2dc1c1842ef42b4b750e7f7fe117c7e07ae /doc
parent2bdcdde30821f6bb73b6d07fb45a7845148ff5bb (diff)
downloadtcl-97f7b29ec8d120aa5c156cf7c868feac2895e5fb.zip
tcl-97f7b29ec8d120aa5c156cf7c868feac2895e5fb.tar.gz
tcl-97f7b29ec8d120aa5c156cf7c868feac2895e5fb.tar.bz2
Compat flag, test, and doc update.
Diffstat (limited to 'doc')
-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