This website requires JavaScript.
Explore
Mail
Help
Register
Sign In
Mirror
/
wren
Watch
1
Star
0
Fork
1
You've already forked wren
mirror of
https://github.com/wren-lang/wren.git
synced
2026-01-11 22:28:45 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
182ca90b8c9e14a88837699f1fa95f61d19b0f0a
wren
/
test
/
api
/
call_wren_call_root.h
4 lines
61 B
C
Raw
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
)
;
Reference in New Issue
Copy Permalink