Skip to content
Tcl Source Code Artifact [9365c160c4]
Login

Artifact [9365c160c4]

Artifact 9365c160c439a17aa581d0db58a7e9ae2dab7d1b:

Ticket change [9365c160c4] - New ticket [2153080fffffffff|2153080fff] <i>coroutine deletion, yield should error</i>. by nobody on 2008-10-08 12:20:22.
D 2008-10-08T12:20:22
J assignee nijtmans
J cmimetype text/plain
J comment if\sone\sdeletes\sa\scoroutine\sby\s[rename\s[info\scoroutine]\s{}]\sand\sthen\scalls\s[yield],\sthe\scoroutine\sis\snever\sdeleted\sand\scan\snever\sbe\sdeleted,\sas\sonly\sa\s[return]\swill\seffect\sthe\sdeletion\sand\safter\s[yield]\sthe\scoroutine\scan\snever\sbe\scalled\sagain\sin\sorder\sto\sreturn.\n\nI\ssuggest\sthat\sboth\s[yield]\sand\s[info\scoroutine]\sshould\sraise\san\serror\sif\scalled\sfrom\sa\sdeleted\scoroutine,\swhich\swould\scause\sthe\sdeletion\scleanup.\n\nAlternatively,\s[yield]\sshould\seffect\sthe\scleanup.\s\sNote,\s[info\scoroutine]\sreturns\sa\sfully\sns-qualified\s{}\sname.\n\n-\sColin.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 02.\sEvent\sLoops
J title coroutine\sdeletion,\syield\sshould\serror
J type Bug
K 2153080fffffffffffffffffffffffffffffffff
U nobody
Z e9c89fa6147d5c692e4114e3a4b19957