Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2021-11-16
22:43 • New ticket [e68d7234df] time is not yieldable. artifact: b07329ae8b user: mjanssen

[time] is not yieldable

Opene68d7234df8500db40defb61b7831397d73dfcceCreated 5 years agoUpdated 5 years ago
Descriptionwiki2021-11-16 22:43:33
The [time] command is not yieldable. For one this makes [time] unsuitable as a poor man's repeat in a coroutine. Example:
% proc testcmd {} {yield ; time {yield ok} 1 }
% coroutine test testcmd
% test
cannot yield: C stack busy
Log in (anonymous is fine) to add a comment.