![]() |
Spicy
|
#include <fiber.h>
Public Attributes | |
std::unique_ptr< detail::Fiber > | main |
std::unique_ptr< detail::Fiber > | switch_trampoline |
detail::Fiber * | current = nullptr |
std::unique_ptr<::Fiber > | shared_stack |
std::vector< std::unique_ptr< Fiber > > | cache |
Context-wide state for managing all fibers associated with that context.
std::vector<std::unique_ptr<Fiber> > hilti::rt::detail::FiberContext::cache |
Cache of previously used fibers available for reuse.
detail::Fiber* hilti::rt::detail::FiberContext::current = nullptr |
Currently executing fiber .
std::unique_ptr<detail::Fiber> hilti::rt::detail::FiberContext::main |
(Pseudo-)fiber representing the main function.
std::unique_ptr<::Fiber> hilti::rt::detail::FiberContext::shared_stack |
Fiber holding the shared stack (the fiber itself isn't used, just its stack memory)
std::unique_ptr<detail::Fiber> hilti::rt::detail::FiberContext::switch_trampoline |
Fiber implementing the switch trampoline.