| Ticket UUID: | 926771 | ||
| Title: | TIP#143 - resource limiting | ||
| Type: | Patch | Created on: | 2004-03-31 16:14:50 |
| Submitter: | dkf | Assigned to: | dkf |
| Subsystem: | 20. [interp] | Severity: | |
| Priority: | 9 Immediate | Last modified: | 2004-05-13 20:04:17 |
| Status: | Closed | Closed by: | dkf |
| Resolution: | Accepted | Closed on: | 2004-05-13 13:04:17 |
| Version: | TIP Implementation | ||
| Description: | ||||
See http://purl.org/tcl/tip/143.html for details. | ||||
| User Comments: | ||||
dkf added on 2004-03-31 23:14:51:
File Added - 82069: tip143.patch dkf added on 2004-04-17 06:24:37:
File Deleted - 82069: File Added - 84023: tip143.patch Logged In: YES user_id=79902 updated dkf added on 2004-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. dgp added on 2004-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()
}
}
| ||||
Attachments:
- tip143.patch [download] added by dkf on 2004-04-20 05:28:33. [details]
