Overview
| Artifact ID: | c4a840ca8a6230383405cfeaf8c2d6010e14e2821d1b2577c93bade4896b7760 |
|---|---|
| Ticket: | cc592ec70de012dff030d61affb4b8d62da6cfb6
vwait not NRE-enabled: C stack busy |
| User & Date: | sebres on 2018-04-16 12:25:51 |
Changes
- icomment:
BTW. I assume that "TclNRCoroutineActivateCallback" (resp. inst_yield_to_invoke) are not NRE-safe (and should be fixed regardless of the vwait-repair). Currently any not compiled execution of yield (in body of something not compiled) raises a segfault resp. a panic "tailcall cannot find the right splicing spot: should not happen!" after resume from any "cannot yield: C stack busy"... <code><verbatim> coroutine c2 ::apply {{} { yield puts [list exit from coroutine [info coroutine]] }} coroutine c1 ::apply [list {} { foreach i {0 1} { puts [catch { time { puts [list in coroutine [info coroutine]] yieldto c2 } 1 } res opt]--$res--$opt } }] </verbatim></code> - login: "sebres"
- mimetype: "text/x-fossil-wiki"