This website requires JavaScript.
Explore
Mail
Help
Register
Sign In
Meson
/
wren
Watch
1
Star
0
Fork
0
You've already forked wren
forked from
Mirror/wren
Code
Pull Requests
Activity
Files
main
wren
/
test
/
api
/
call_wren_call_root.h
4 lines
61 B
C
Raw
Permalink
Normal View
History
Unescape
Escape
Don't allow calling the root fiber. The VM used to not detect this case. It meant you could get into a situation where another fiber's caller had completed. Then, when it tried to resume that fiber, the VM would crash because there was nothing to resume to. This is part of thinking through all the cases around re-entrancy. Added some notes for that too.
2018-07-21 10:02:29 -07:00
#
include
"wren.h"
Merge pull request #751 from wren-lang/0.3.0-refactor 0.3.0 refactor
2020-06-05 14:57:20 -07:00
int
callWrenCallRootRunTests
(
WrenVM
*
vm
)
;
Copy Permalink