Skip to content
Tcl Source Code Artifact [c4a840ca8a]
Login

Artifact [c4a840ca8a]

Artifact c4a840ca8a6230383405cfeaf8c2d6010e14e2821d1b2577c93bade4896b7760:

Ticket change [c4a840ca8a] - Ticket [cc592ec70de012df|cc592ec70d] <i>vwait not NRE-enabled: C stack busy</i> status still Open with 3 other changes by sebres on 2018-04-16 12:25:51.
D 2018-04-16T12:25:51.797
J icomment BTW.\sI\sassume\sthat\s"TclNRCoroutineActivateCallback"\s(resp.\sinst_yield_to_invoke)\sare\snot\sNRE-safe\s(and\sshould\sbe\sfixed\sregardless\sof\sthe\svwait-repair).\r\n\r\nCurrently\sany\snot\scompiled\sexecution\sof\syield\s(in\sbody\sof\ssomething\snot\scompiled)\sraises\sa\ssegfault\sresp.\sa\spanic\s"tailcall\scannot\sfind\sthe\sright\ssplicing\sspot:\sshould\snot\shappen!"\safter\sresume\sfrom\sany\s"cannot\syield:\sC\sstack\sbusy"...\r\n\r\n<code><verbatim>\r\ncoroutine\sc2\s::apply\s{{}\s{\r\n\s\s\s\syield\r\n\s\s\s\sputs\s[list\sexit\sfrom\scoroutine\s[info\scoroutine]]\r\n}}\r\n\s\r\ncoroutine\sc1\s::apply\s[list\s{}\s{\r\n\s\sforeach\si\s{0\s1}\s{\r\n\s\s\s\sputs\s[catch\s{\r\n\s\s\s\s\s\stime\s{\r\n\s\s\s\s\s\s\s\sputs\s[list\sin\scoroutine\s[info\scoroutine]]\r\n\s\s\s\s\s\s\s\syieldto\sc2\r\n\s\s\s\s\s\s}\s1\r\n\s\s\s\s}\sres\sopt]--$res--$opt\r\n\s\s}\r\n}]\r\n</verbatim></code>
J login sebres
J mimetype text/x-fossil-wiki
K cc592ec70de012dff030d61affb4b8d62da6cfb6
U sebres
Z 292fcf49b45f55ce7391c1e13f79155a