Bob Nystrom
4b160f017b
feat: prevent calling root fiber and refactor fiber state tracking
...
Add explicit check in `runFiber()` to reject calls to the root fiber, preventing VM crashes when a completed fiber's caller tries to resume it. Replace the boolean `callerIsTrying` field with a `FiberState` enum (`FIBER_TRY`, `FIBER_ROOT`, `FIBER_OTHER`) to track fiber invocation mode, updating all relevant primitives and initialization. Include new test cases (`call_root.wren`, `call_wren_call_root.*`) and re-entrancy documentation notes.
2018-07-21 17:02:29 +00:00
..
2015-03-14 19:45:56 +00:00
2015-09-30 05:57:03 +00:00
2015-09-30 05:57:03 +00:00
2015-09-15 14:46:09 +00:00
2015-07-10 16:18:22 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-07-10 16:18:22 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2018-07-21 17:02:29 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00
2015-07-10 16:18:22 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-08-31 05:15:37 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00
2017-10-20 03:45:13 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-07-10 16:18:22 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-30 05:57:03 +00:00
2015-09-30 05:57:03 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-07-10 16:18:22 +00:00
2016-03-04 01:00:33 +00:00
2016-03-04 01:00:33 +00:00
2015-07-10 16:18:22 +00:00
2017-10-06 14:39:00 +00:00
2015-09-15 14:46:09 +00:00
2017-10-06 14:39:00 +00:00
2015-09-15 14:46:09 +00:00
2018-03-17 16:33:33 +00:00
2018-03-24 18:10:36 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2017-10-20 03:45:13 +00:00
2015-09-15 14:46:09 +00:00