Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TIP#143 - resource limiting

Closed / Accepted926771ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-03-31 16:14:50
See http://purl.org/tcl/tip/143.html for details.
dkfplain2004-03-31 23:14:51
File Added - 82069: tip143.patch
dkfplain2004-04-17 06:24:37
File Deleted - 82069: 



File Added - 84023: tip143.patch

Logged In: YES 
user_id=79902

updated
dkfplain2004-04-20 05:28:33
File Deleted - 84023: 



File Added - 84319: tip143.patch

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.
dgpplain2004-04-20 23:41:40
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()
    }
}
dkf Ticket [926771ffff]: 2 changes [History diff]2004-05-12 20:37:51
dkf Closed ticket [926771ffff]. [History diff]2004-05-13 20:04:17
Log in (anonymous is fine) to add a comment.

Attachments: