mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-10 15:44:06 +00:00
Merge branch 'develop'
This commit is contained in:
commit
4ca30e1fee
@ -125,6 +125,7 @@ pull_coroutine< T >::control_block::~control_block() {
|
|||||||
if ( state_t::none == ( state & state_t::complete) &&
|
if ( state_t::none == ( state & state_t::complete) &&
|
||||||
state_t::none != ( state & state_t::unwind) ) {
|
state_t::none != ( state & state_t::unwind) ) {
|
||||||
// unwind coroutine stack
|
// unwind coroutine stack
|
||||||
|
other->ctx = boost::context::execution_context::current();
|
||||||
ctx( context::exec_ontop_arg, unwind_coroutine);
|
ctx( context::exec_ontop_arg, unwind_coroutine);
|
||||||
}
|
}
|
||||||
// destroy data if it set
|
// destroy data if it set
|
||||||
@ -273,6 +274,7 @@ pull_coroutine< T & >::control_block::~control_block() {
|
|||||||
if ( state_t::none == ( state & state_t::complete) &&
|
if ( state_t::none == ( state & state_t::complete) &&
|
||||||
state_t::none != ( state & state_t::unwind) ) {
|
state_t::none != ( state & state_t::unwind) ) {
|
||||||
// unwind coroutine stack
|
// unwind coroutine stack
|
||||||
|
other->ctx = boost::context::execution_context::current();
|
||||||
ctx( context::exec_ontop_arg, unwind_coroutine);
|
ctx( context::exec_ontop_arg, unwind_coroutine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -399,6 +401,7 @@ pull_coroutine< void >::control_block::~control_block() {
|
|||||||
if ( state_t::none == ( state & state_t::complete) &&
|
if ( state_t::none == ( state & state_t::complete) &&
|
||||||
state_t::none != ( state & state_t::unwind) ) {
|
state_t::none != ( state & state_t::unwind) ) {
|
||||||
// unwind coroutine stack
|
// unwind coroutine stack
|
||||||
|
other->ctx = boost::context::execution_context::current();
|
||||||
ctx( context::exec_ontop_arg, unwind_coroutine);
|
ctx( context::exec_ontop_arg, unwind_coroutine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -130,6 +130,7 @@ push_coroutine< T >::control_block::~control_block() {
|
|||||||
if ( state_t::none == ( state & state_t::complete) &&
|
if ( state_t::none == ( state & state_t::complete) &&
|
||||||
state_t::none != ( state & state_t::unwind) ) {
|
state_t::none != ( state & state_t::unwind) ) {
|
||||||
// unwind coroutine stack
|
// unwind coroutine stack
|
||||||
|
other->ctx = boost::context::execution_context::current();
|
||||||
ctx( context::exec_ontop_arg, unwind_coroutine);
|
ctx( context::exec_ontop_arg, unwind_coroutine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -271,6 +272,7 @@ push_coroutine< T & >::control_block::~control_block() {
|
|||||||
if ( state_t::none == ( state & state_t::complete) &&
|
if ( state_t::none == ( state & state_t::complete) &&
|
||||||
state_t::none != ( state & state_t::unwind) ) {
|
state_t::none != ( state & state_t::unwind) ) {
|
||||||
// unwind coroutine stack
|
// unwind coroutine stack
|
||||||
|
other->ctx = boost::context::execution_context::current();
|
||||||
ctx( context::exec_ontop_arg, unwind_coroutine);
|
ctx( context::exec_ontop_arg, unwind_coroutine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -396,6 +398,7 @@ push_coroutine< void >::control_block::~control_block() {
|
|||||||
if ( state_t::none == ( state & state_t::complete) &&
|
if ( state_t::none == ( state & state_t::complete) &&
|
||||||
state_t::none != ( state & state_t::unwind) ) {
|
state_t::none != ( state & state_t::unwind) ) {
|
||||||
// unwind coroutine stack
|
// unwind coroutine stack
|
||||||
|
other->ctx = boost::context::execution_context::current();
|
||||||
ctx( context::exec_ontop_arg, unwind_coroutine);
|
ctx( context::exec_ontop_arg, unwind_coroutine);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user