summaryrefslogtreecommitdiffstats
path: root/doc/coroutine.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2023-11-22 12:13:02 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2023-11-22 12:13:02 (GMT)
commit51607eaa4f7bf07cd36ba1ec5809208d22591a3e (patch)
treec1d7f2ecc4f872987f755f5c59e20dca3d9417b2 /doc/coroutine.n
parentedcbd92630507c129000dfd668f858ca603e0b1e (diff)
downloadtcl-51607eaa4f7bf07cd36ba1ec5809208d22591a3e.zip
tcl-51607eaa4f7bf07cd36ba1ec5809208d22591a3e.tar.gz
tcl-51607eaa4f7bf07cd36ba1ec5809208d22591a3e.tar.bz2
Added missing paragraph fragment.
Diffstat (limited to 'doc/coroutine.n')
-rw-r--r--doc/coroutine.n5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/coroutine.n b/doc/coroutine.n
index 11f9069..8110628 100644
--- a/doc/coroutine.n
+++ b/doc/coroutine.n
@@ -119,7 +119,10 @@ The injection is a one-off. It is not retained once it has been executed. It
may \fByield\fR or \fByieldto\fR as part of its execution.
.PP
Note that running coroutines may be neither probed nor injected; the
-operations may only be applied to
+operations may only be applied to coroutines that are suspended. (If a
+coroutine is running then any introspection code would be merely inspecting
+the state of where it is currently running; \fBcoroinject\fR/\fBcoroprobe\fR
+are unnecessary in that case.)
.VE "8.7, TIP383"
.SH EXAMPLES
.PP