summaryrefslogtreecommitdiff
path: root/src/common/fiber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/fiber.h')
-rw-r--r--src/common/fiber.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/fiber.h b/src/common/fiber.h
index 5323e8579..f7f587f8c 100644
--- a/src/common/fiber.h
+++ b/src/common/fiber.h
@@ -7,11 +7,9 @@
7#include <functional> 7#include <functional>
8#include <memory> 8#include <memory>
9 9
10#if !defined(_WIN32) && !defined(WIN32)
11namespace boost::context::detail { 10namespace boost::context::detail {
12struct transfer_t; 11struct transfer_t;
13} 12}
14#endif
15 13
16namespace Common { 14namespace Common {
17 15
@@ -59,17 +57,10 @@ public:
59private: 57private:
60 Fiber(); 58 Fiber();
61 59
62#if defined(_WIN32) || defined(WIN32)
63 void OnRewind();
64 void Start();
65 static void FiberStartFunc(void* fiber_parameter);
66 static void RewindStartFunc(void* fiber_parameter);
67#else
68 void OnRewind(boost::context::detail::transfer_t& transfer); 60 void OnRewind(boost::context::detail::transfer_t& transfer);
69 void Start(boost::context::detail::transfer_t& transfer); 61 void Start(boost::context::detail::transfer_t& transfer);
70 static void FiberStartFunc(boost::context::detail::transfer_t transfer); 62 static void FiberStartFunc(boost::context::detail::transfer_t transfer);
71 static void RewindStartFunc(boost::context::detail::transfer_t transfer); 63 static void RewindStartFunc(boost::context::detail::transfer_t transfer);
72#endif
73 64
74 struct FiberImpl; 65 struct FiberImpl;
75 std::unique_ptr<FiberImpl> impl; 66 std::unique_ptr<FiberImpl> impl;