Fiber class.
More...
#include <zrt.hpp>
List of all members.
Detailed Description
Member Function Documentation
Push continuation on stack.
- Parameters:
-
continuation | The autoptr containing continuation |
- Returns:
- Pointer to continuation just added
Create clone of current fiber.
- Parameters:
-
fiber | Autoptr to receive clone |
Execute post-action.
- Parameters:
-
action | The post-action to execute |
- Returns:
- True if success, else false
Pop continuation from stack.
- Parameters:
-
continuation | The autoptr to receive continuation |
- Returns:
- True if success, else false
Push continuation on stack.
- Parameters:
-
continuation | The autoptr containing continuation |
- Returns:
- Pointer to continuation just added
Run the next closure in the fiber.
- Parameters:
-
- Returns:
- The post-action
The documentation for this class was generated from the following files:
- /home/renji/Data/projects/zenlang/sources/zbl/zrt.hpp
- /home/renji/Data/projects/zenlang/sources/zbl/zrt.cpp