Fibers!
Still have some edge cases to implement but the basics are in place and working now.
This commit is contained in:
+4
-1
@@ -212,7 +212,10 @@ struct WrenVM
|
||||
// allocated objects used by the compiler can be found if a GC is kicked off
|
||||
// in the middle of a compile.
|
||||
Compiler* compiler;
|
||||
|
||||
|
||||
// The fiber that is currently running.
|
||||
ObjFiber* fiber;
|
||||
|
||||
// Memory management data:
|
||||
|
||||
// The number of bytes that are known to be currently allocated. Includes all
|
||||
|
||||
Reference in New Issue
Block a user