summaryrefslogtreecommitdiffstats
path: root/src/common/fiber.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-14 00:17:47 +0100
committerbunnei <bunneidev@gmail.com>2020-11-29 10:31:51 +0100
commitc042a89113617f75e81163f103ef82d6d714cd87 (patch)
tree865b1aa1c9d2c153d89209efc738f00589e97052 /src/common/fiber.h
parenthle: kernel: multicore: Replace n-JITs impl. with 4 JITs. (diff)
downloadyuzu-c042a89113617f75e81163f103ef82d6d714cd87.tar
yuzu-c042a89113617f75e81163f103ef82d6d714cd87.tar.gz
yuzu-c042a89113617f75e81163f103ef82d6d714cd87.tar.bz2
yuzu-c042a89113617f75e81163f103ef82d6d714cd87.tar.lz
yuzu-c042a89113617f75e81163f103ef82d6d714cd87.tar.xz
yuzu-c042a89113617f75e81163f103ef82d6d714cd87.tar.zst
yuzu-c042a89113617f75e81163f103ef82d6d714cd87.zip
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 @@
#include <functional>
#include <memory>
-#if !defined(_WIN32) && !defined(WIN32)
namespace boost::context::detail {
struct transfer_t;
}
-#endif
namespace Common {
@@ -59,17 +57,10 @@ public:
private:
Fiber();
-#if defined(_WIN32) || defined(WIN32)
- void OnRewind();
- void Start();
- 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;
std::unique_ptr<FiberImpl> impl;