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 | |||
Description: |
See http://purl.org/tcl/tip/143.html for details. | |||
User Comments: |
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() } } 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. 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-03-31 23:14:51: File Added - 82069: tip143.patch |
Attachments:
- tip143.patch [download] added by dkf on 2004-04-20 05:28:33. [details]