14Fiber::FiberHook* Fiber::hookNew =
nullptr;
16Fiber::FiberHook* Fiber::hookDead =
nullptr;
24 Fiber* f =
new Fiber(&Runnable::entry_,
static_cast<void*
>(
this));
virtual int fiberHook(Fiber &f)
static safe_ptr< singleton_type >::type instance() noexcept
Return the only instance of T within this thread.
The class that manages the fibers within this thread.
void add(Fiber *fiber) noexcept
#define unlikely(expr)
Marks the given expression to likely be evaluated to true.