#332 TIP#143 - resource limiting

TIP Implementation
closed-accepted
9
2004-05-13
2004-03-31
No

Discussion

  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    updated

     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    Another update, this time to a version that is (probably)
    feature complete. Still needs docs and tests.

    Also a note to mention that Tk will also need some fixing so
    Tk's entrances to the event loop don't end up swallowing
    tripped limits; calling Tcl_LimitExceeded(interp) is the
    right tactic in those locations.

     
  • Donal K. Fellows

    Unified Diff against HEAD

     
  • Don Porter

    Don Porter - 2004-04-20

    Logged In: YES
    user_id=80530

    Looks like the patch to tclMain.c
    opens a path of execution where
    the master interp will not be
    deleted. I think logic should be:

    if (!Tcl_InterpDeleted) {
    if (!Tcl_LimitExceeded) {
    Tcl_Eval("exit");
    }
    if (!Tcl_InterpDeleted) {
    Tcl_DeleteInterp()
    }
    }

     
  • Donal K. Fellows

    • priority: 5 --> 9
    • assigned_to: hobbs --> dkf
     
  • Donal K. Fellows

    • status: open --> closed-accepted