summaryrefslogtreecommitdiffstats
path: root/generic/tclNotify.c
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 14:25:41 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-12 14:25:41 (GMT)
commitb77f43bb1120210cb1cbb467f8a29ab1cb004162 (patch)
tree0854fb4160c59caca2e4ce994f245d75ca52eb7d /generic/tclNotify.c
parent3d91df248993bec5f3545fa327bf6baef9968331 (diff)
parent83677a47e7b79ee7a64d2053ed2871b850898a2e (diff)
downloadtcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.zip
tcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.tar.gz
tcl-b77f43bb1120210cb1cbb467f8a29ab1cb004162.tar.bz2
Correct spelling errors in comments and documentation, but also a non-comment corrections in history.tcl and tcltest.test.
Diffstat (limited to 'generic/tclNotify.c')
-rw-r--r--generic/tclNotify.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclNotify.c b/generic/tclNotify.c
index 24aa5cc..3830192 100644
--- a/generic/tclNotify.c
+++ b/generic/tclNotify.c
@@ -1027,12 +1027,12 @@ Tcl_DoOneEvent(
}
/*
- * If Tcl_WaitForEvent has returned 1, indicating that one system
- * event has been dispatched (and thus that some Tcl code might have
- * been indirectly executed), we break out of the loop. We do this to
- * give VwaitCmd for instance a chance to check if that system event
- * had the side effect of changing the variable (so the vwait can
- * return and unwind properly).
+ * If Tcl_WaitForEvent has returned 1, indicating that one system event
+ * has been dispatched (and thus that some Tcl code might have been
+ * indirectly executed), we break out of the loop in order, e.g. to
+ * give vwait a chance to determine whether that system event had the
+ * side effect of changing the variable (so the vwait can return and
+ * unwind properly).
*
* NB: We will process idle events if any first, because otherwise we
* might never do the idle events if the notifier always gets