mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-09 23:24:01 +00:00
change implementation depending on property context-switch
- context-switch=cc uses captured_context as implementation - context-switch=ec uses execution_context as implementation
This commit is contained in:
parent
3d76707ea1
commit
3f3d7ef4a7
@ -28,7 +28,7 @@ class push_coroutine;
|
||||
#include <boost/coroutine2/detail/pull_coroutine.hpp>
|
||||
#include <boost/coroutine2/detail/push_coroutine.hpp>
|
||||
|
||||
#if ! defined(BOOST_USE_SEGMENTED_STACKS)
|
||||
#if ! defined(BOOST_USE_EXECUTION_CONTEXT)
|
||||
#include <boost/coroutine2/detail/pull_control_block_cc.hpp>
|
||||
#include <boost/coroutine2/detail/push_control_block_cc.hpp>
|
||||
#else
|
||||
@ -39,7 +39,8 @@ class push_coroutine;
|
||||
#include <boost/coroutine2/detail/pull_coroutine.ipp>
|
||||
#include <boost/coroutine2/detail/push_coroutine.ipp>
|
||||
|
||||
#if ! defined(BOOST_USE_SEGMENTED_STACKS)
|
||||
#if ! defined(BOOST_USE_EXECUTION_CONTEXT)
|
||||
#include <boost/coroutine2/detail/pull_control_block_cc.hpp>
|
||||
#include <boost/coroutine2/detail/pull_control_block_cc.ipp>
|
||||
#include <boost/coroutine2/detail/push_control_block_cc.ipp>
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user