1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-03 09:03:02 +00:00

Make some unit tests pass. Fix transfer to new fiber.

This commit is contained in:
bakpakin
2018-01-12 16:25:24 -05:00
parent f8174f192c
commit 59bed71a2c
11 changed files with 100 additions and 29 deletions

View File

@@ -319,7 +319,8 @@ struct DstFiber {
int32_t stacktop; /* Top of stack. Where values are pushed and popped from. */
int32_t capacity;
enum {
DST_FIBER_PENDING = 0,
DST_FIBER_PENDING,
DST_FIBER_NEW,
DST_FIBER_ALIVE,
DST_FIBER_DEAD,
DST_FIBER_ERROR