Tcl Source Code

View Ticket
Bounty program for improvements to Tcl and certain Tcl packages.
Ticket UUID: 926771
Title: TIP#143 - resource limiting
Type: Patch Version: TIP Implementation
Submitter: dkf Created on: 2004-03-31 16:14:50
Subsystem: 20. [interp] Assigned To: dkf
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2004-05-13 20:04:17
Resolution: Accepted Closed By: dkf
    Closed on: 2004-05-13 13:04:17
See for details.
User Comments: dgp added on 2004-04-20 23:41:40:
Logged In: YES 

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) {
    if (!Tcl_InterpDeleted) {

dkf added on 2004-04-20 05:28:33:
File Deleted - 84023: 

File Added - 84319: tip143.patch

Logged In: YES 

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.

dkf added on 2004-04-17 06:24:37:
File Deleted - 82069: 

File Added - 84023: tip143.patch

Logged In: YES 


dkf added on 2004-03-31 23:14:51:
File Added - 82069: tip143.patch