Add some more fiber functions.

Add fiber.current and fiber.lineage
This commit is contained in:
Calvin Rose
2018-05-10 20:25:49 -04:00
parent 584c75b3f6
commit ee01547b3a
5 changed files with 47 additions and 6 deletions
+1
View File
@@ -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. */