Overview
| Artifact ID: | 3967026f86dba1bd78b8451d99862b59acb2e949 |
|---|---|
| Ticket: | 2153080fffffffffffffffffffffffffffffffff
coroutine deletion, yield should error |
| User & Date: | dkf on 2008-10-08 19:28:15 |
Changes
- assignee changed to: "msofer"
- icomment:
In what way (apart from the erroneous result from [info coroutine]) is there a problem? What resource is being consumed? % proc foo args {puts "DEBUG: $args"} % proc bar {} {trace add variable v unset foo;yield;rename [info coro] {};puts IN;yield;puts END} % coroutine spong bar % trace add command spong delete foo % info commands tell socket subst open eof pwd glob list pid exec auto_load_index time unknown eval lassign lrange fblocked lsearch auto_import gets case lappend proc break llength variable auto_execok return linsert error catch clock info split array if fconfigure coroutine concat join lreplace source fcopy global switch auto_qualify update foo bar close cd for auto_load file append lreverse format unload read package set binary namespace scan apply spong trace seek while chan flush after vwait dict continue uplevel foreach lset rename fileevent regexp lrepeat tailcall upvar encoding expr unset load regsub history interp exit puts incr lindex lsort tclLog string yield % spong DEBUG: ::spong {} delete IN DEBUG: v {} unset % info commands tell socket subst open eof pwd glob list pid exec auto_load_index time unknown eval lassign lrange fblocked lsearch auto_import gets case lappend proc break llength variable auto_execok return linsert error catch clock info split array if fconfigure coroutine concat join lreplace source fcopy global switch auto_qualify update foo bar close cd for auto_load file append lreverse format unload read package set binary namespace scan apply trace seek while chan flush after vwait dict continue uplevel foreach lset rename fileevent regexp lrepeat tailcall upvar encoding expr unset load regsub history interp exit puts incr lindex lsort tclLog string yield - login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "45. Parsing and Eval"
- username: "dkf"