1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-12 13:33:57 +00:00

Add per fiber stack limit.

This commit is contained in:
Calvin Rose
2018-02-12 17:36:29 -05:00
parent a614816a04
commit 2f4fd23884
4 changed files with 5 additions and 4 deletions

View File

@@ -37,6 +37,7 @@ DstFiber *dst_fiber(int32_t capacity) {
fiber->data = NULL;
}
fiber->parent = NULL;
fiber->maxstack = DST_STACK_MAX;
return dst_fiber_reset(fiber);
}