Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b07329ae8b5e63726f68cad3a4e13fb56c4c80ecf1841242288f0a5dc3199caf
Ticket: e68d7234df8500db40defb61b7831397d73dfcce
[time] is not yieldable
User & Date: mjanssen on 2021-11-16 22:43:33
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The [time] command is not yieldable. For one this makes [time] unsuitable as a poor man's repeat in a coroutine. Example:
    
    <pre>
    % proc testcmd {} {yield ; time {yield ok} 1 }
    % coroutine test testcmd
    % test
    cannot yield: C stack busy
    </pre>
    
  5. is_private changed to: "0"
  6. login: "mjanssen"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "9e3254e6e3c2643cc148bab2d55f46bb4c0446f4"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "mjanssen"
  13. subsystem changed to: "60. NRE and coroutines"
  14. title changed to: "[time] is not yieldable"
  15. type changed to: "Bug"