#include <BoostContextCompatibility.h>
Definition at line 44 of file BoostContextCompatibility.h.
folly::fibers::FiberImpl::FiberImpl |
( |
folly::Function< void()> |
func, |
|
|
unsigned char * |
stackLimit, |
|
|
size_t |
stackSize |
|
) |
| |
|
inline |
Definition at line 66 of file BoostContextCompatibility.h.
References fiberContext_, and fiberFunc().
71 auto stackBase = stackLimit + stackSize;
72 #if BOOST_VERSION >= 106100 73 stackBase_ = stackBase;
75 boost::context::detail::make_fcontext(stackBase, stackSize, &
fiberFunc);
76 #elif BOOST_VERSION >= 105200 78 boost::context::make_fcontext(stackBase, stackSize, &
fiberFunc);
folly::Function< void()> func_
constexpr detail::Map< Move > move
FiberContext fiberContext_
static void fiberFunc(intptr_t arg)
void folly::fibers::FiberImpl::activate |
( |
| ) |
|
|
inline |
void folly::fibers::FiberImpl::deactivate |
( |
| ) |
|
|
inline |
static void folly::fibers::FiberImpl::fiberFunc |
( |
intptr_t |
arg | ) |
|
|
inlinestaticprivate |
The documentation for this class was generated from the following file: