Low-level fiber wrapper over Boost.Context that switches execution contexts.
Declared in <folly/fibers/BoostContextCompatibility.h>
class FiberImpl;
| Name | Description |
|---|---|
FiberImpl [constructor] | Constructs a fiber that runs the given function on the provided stack. |
activate | Resumes execution of the fiber, transferring control into its context. |
deactivate | Suspends the fiber and returns control to the main context. |
getStackPointer | Returns the current stack pointer of the fiber, or null if unavailable. |