mirror of
https://github.com/janet-lang/janet
synced 2026-10-19 05:52:27 +00:00
Add some more fiber functions.
Add fiber.current and fiber.lineage
This commit is contained in:
@@ -344,6 +344,7 @@ struct DstArgs {
|
||||
/* Fiber signal masks. Should not overlap any fiber flags. */
|
||||
#define DST_FIBER_MASK_ERROR 1
|
||||
#define DST_FIBER_MASK_DEBUG 2
|
||||
#define DST_FIBER_MASK_YIELD 4
|
||||
|
||||
/* A lightweight green thread in dst. Does not correspond to
|
||||
* operating system threads. */
|
||||
|
||||
Reference in New Issue
Block a user