diff options
| author | 2020-04-01 09:19:10 -0400 | |
|---|---|---|
| committer | 2020-06-18 16:29:27 -0400 | |
| commit | b6655aa2e492e326e319b09e832c1612bf27acf4 (patch) | |
| tree | 831c7ca6bb0b85562ffd322d6e47f6545a087cb1 /src/common/fiber.h | |
| parent | Common/uint128: Correct MSVC Compilation in old versions. (diff) | |
| download | yuzu-b6655aa2e492e326e319b09e832c1612bf27acf4.tar.gz yuzu-b6655aa2e492e326e319b09e832c1612bf27acf4.tar.xz yuzu-b6655aa2e492e326e319b09e832c1612bf27acf4.zip | |
Common/Fiber: Implement Rewind on Boost Context.
Diffstat (limited to 'src/common/fiber.h')
| -rw-r--r-- | src/common/fiber.h | 2 |
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: | |||
| 70 | static void FiberStartFunc(void* fiber_parameter); | 70 | static void FiberStartFunc(void* fiber_parameter); |
| 71 | static void RewindStartFunc(void* fiber_parameter); | 71 | static void RewindStartFunc(void* fiber_parameter); |
| 72 | #else | 72 | #else |
| 73 | void onRewind(boost::context::detail::transfer_t& transfer); | ||
| 73 | void start(boost::context::detail::transfer_t& transfer); | 74 | void start(boost::context::detail::transfer_t& transfer); |
| 74 | static void FiberStartFunc(boost::context::detail::transfer_t transfer); | 75 | static void FiberStartFunc(boost::context::detail::transfer_t transfer); |
| 76 | static void RewindStartFunc(boost::context::detail::transfer_t transfer); | ||
| 75 | #endif | 77 | #endif |
| 76 | 78 | ||
| 77 | struct FiberImpl; | 79 | struct FiberImpl; |