Skip to content
Tcl Source Code History Of Ticket 218152ffffffffff
Login

History Of Ticket 218152ffffffffff

Artifacts Associated With Ticket 218152ffffffffff

  1. Ticket change [d338caae56] (rid 123252) by nobody on 2000-10-26 00:53:48:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2157 RFE
      Version: 8.0.4
      SubmitDate: '1999-06-03'
      LastModified: '1999-09-18'
      Severity: LOW
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Solaris
      OSVersion: 2.5, 2.6, 7
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '1999-09-18'
      
      
      Name:
      Anthony Mallet
      
      CustomShell:
      Redefined Tcl_ExecuteByteCode
      
      DesiredBehavior:
      Would be great if there were a possibility to interrupt a byte-code
          evaluation in a non-event-driven application.
          
          Imagine that you start to execute the following code :
          while { 1 } { }
          If you hit ctrl-C, this kills the interpreter.
          If you have intalled a signal handler, the recommended way to take any
          action within the handler is to AsyncMark an asynchronous event, and let
          tcl proceed with it when it comes back to a safe state. But this does
          not work in my case since the infinite loop never makes a call to
          'update' or anything that deals with events.
          
          Today, the workaround I use is to compile a modified version of
          Tcl_ExecuteByteCode that checks a global flag before executing every
          instruction, and stops evaluating whenever this flags becomes true (the
          flag is set in a signal handler).
      
      
      
      This seems to be what we already have Tcl_CreateTrace
      (command tracing) for. 
      -- 09/18/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Interrupting an evaluation"
    11. type initialized to: "RFE"
  2. Ticket change [9334d11919] (rid 105780) by welch on 2000-10-26 08:15:56:

    1. closedate changed to: "2000-10-26T01:15:56"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [cd4f5287fd] (rid 95866) by dgp on 2001-04-16 23:35:24:

    1. foundin changed to: "None"
    2. status changed to: "Open"
    3. subsystem changed to: "None"
  4. Ticket change [5affdf81be] (rid 118242) by dgp on 2001-04-16 23:35:49:

    1. closedate changed to: "2001-04-16T16:35:49"
    2. closer changed to: "dgp"
    3. status changed to: "Closed"
    4. subsystem changed to: "47. Bytecode Compiler"