summaryrefslogtreecommitdiff
path: root/src/common/fiber.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-01 09:19:10 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-18 16:29:27 -0400
commitb6655aa2e492e326e319b09e832c1612bf27acf4 (patch)
tree831c7ca6bb0b85562ffd322d6e47f6545a087cb1 /src/common/fiber.h
parent59ce6e6d06e5ce8628f96bb247a342dec356fe43 (diff)
Common/Fiber: Implement Rewind on Boost Context.
Diffstat (limited to 'src/common/fiber.h')
-rw-r--r--src/common/fiber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/fiber.h b/src/common/fiber.h
index 3bbd506b5..cab7bc4b5 100644
--- a/src/common/fiber.h
+++ b/src/common/fiber.h
@@ -70,8 +70,10 @@ private:
static void FiberStartFunc(void* fiber_parameter);
static void RewindStartFunc(void* fiber_parameter);
#else
+ void onRewind(boost::context::detail::transfer_t& transfer);
void start(boost::context::detail::transfer_t& transfer);
static void FiberStartFunc(boost::context::detail::transfer_t transfer);
+ static void RewindStartFunc(boost::context::detail::transfer_t transfer);
#endif
struct FiberImpl;