Logo
Explore Mail Help
Register Sign In
Mirror/wren
1
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

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
Powered by Gitea Version: 1.24.0 Page: 2514ms Template: 156ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API