mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-09 23:24:01 +00:00
Merge branch 'develop'
This commit is contained in:
commit
aac0261dae
@ -35,7 +35,7 @@ pull_coroutine< T >::control_block::control_block( context::preallocated palloc,
|
|||||||
other( nullptr),
|
other( nullptr),
|
||||||
caller( boost::context::execution_context::current() ),
|
caller( boost::context::execution_context::current() ),
|
||||||
callee( palloc, salloc,
|
callee( palloc, salloc,
|
||||||
[=,fn=std::forward< Fn >( fn_)] () mutable -> decltype( auto) {
|
[=,fn=std::forward< Fn >( fn_)] () mutable -> void {
|
||||||
// create synthesized push_coroutine< T >
|
// create synthesized push_coroutine< T >
|
||||||
typename push_coroutine< T >::control_block synthesized_cb( this);
|
typename push_coroutine< T >::control_block synthesized_cb( this);
|
||||||
push_coroutine< T > synthesized( & synthesized_cb);
|
push_coroutine< T > synthesized( & synthesized_cb);
|
||||||
@ -110,7 +110,7 @@ pull_coroutine< T & >::control_block::control_block( context::preallocated pallo
|
|||||||
other( nullptr),
|
other( nullptr),
|
||||||
caller( boost::context::execution_context::current() ),
|
caller( boost::context::execution_context::current() ),
|
||||||
callee( palloc, salloc,
|
callee( palloc, salloc,
|
||||||
[=,fn=std::forward< Fn >( fn_)] () mutable -> decltype( auto) {
|
[=,fn=std::forward< Fn >( fn_)] () mutable -> void {
|
||||||
// create synthesized push_coroutine< T >
|
// create synthesized push_coroutine< T >
|
||||||
typename push_coroutine< T & >::control_block synthesized_cb( this);
|
typename push_coroutine< T & >::control_block synthesized_cb( this);
|
||||||
push_coroutine< T & > synthesized( & synthesized_cb);
|
push_coroutine< T & > synthesized( & synthesized_cb);
|
||||||
@ -184,7 +184,7 @@ pull_coroutine< void >::control_block::control_block( context::preallocated pall
|
|||||||
other( nullptr),
|
other( nullptr),
|
||||||
caller( boost::context::execution_context::current() ),
|
caller( boost::context::execution_context::current() ),
|
||||||
callee( palloc, salloc,
|
callee( palloc, salloc,
|
||||||
[=,fn=std::forward< Fn >( fn_)] () mutable -> decltype( auto) {
|
[=,fn=std::forward< Fn >( fn_)] () mutable -> void {
|
||||||
// create synthesized push_coroutine< T >
|
// create synthesized push_coroutine< T >
|
||||||
typename push_coroutine< void >::control_block synthesized_cb( this);
|
typename push_coroutine< void >::control_block synthesized_cb( this);
|
||||||
push_coroutine< void > synthesized( & synthesized_cb);
|
push_coroutine< void > synthesized( & synthesized_cb);
|
||||||
|
@ -36,7 +36,7 @@ push_coroutine< T >::control_block::control_block( context::preallocated palloc,
|
|||||||
other( nullptr),
|
other( nullptr),
|
||||||
caller( boost::context::execution_context::current() ),
|
caller( boost::context::execution_context::current() ),
|
||||||
callee( palloc, salloc,
|
callee( palloc, salloc,
|
||||||
[=,fn=std::forward< Fn >( fn_)] () mutable -> decltype( auto) {
|
[=,fn=std::forward< Fn >( fn_)] () mutable -> void {
|
||||||
// create synthesized pull_coroutine< T >
|
// create synthesized pull_coroutine< T >
|
||||||
typename pull_coroutine< T >::control_block synthesized_cb( this);
|
typename pull_coroutine< T >::control_block synthesized_cb( this);
|
||||||
pull_coroutine< T > synthesized( & synthesized_cb);
|
pull_coroutine< T > synthesized( & synthesized_cb);
|
||||||
@ -134,7 +134,7 @@ push_coroutine< T & >::control_block::control_block( context::preallocated pallo
|
|||||||
other( nullptr),
|
other( nullptr),
|
||||||
caller( boost::context::execution_context::current() ),
|
caller( boost::context::execution_context::current() ),
|
||||||
callee( palloc, salloc,
|
callee( palloc, salloc,
|
||||||
[=,fn=std::forward< Fn >( fn_)] () mutable -> decltype( auto) {
|
[=,fn=std::forward< Fn >( fn_)] () mutable -> void {
|
||||||
// create synthesized pull_coroutine< T >
|
// create synthesized pull_coroutine< T >
|
||||||
typename pull_coroutine< T & >::control_block synthesized_cb( this);
|
typename pull_coroutine< T & >::control_block synthesized_cb( this);
|
||||||
pull_coroutine< T & > synthesized( & synthesized_cb);
|
pull_coroutine< T & > synthesized( & synthesized_cb);
|
||||||
@ -209,7 +209,7 @@ push_coroutine< void >::control_block::control_block( context::preallocated pall
|
|||||||
other( nullptr),
|
other( nullptr),
|
||||||
caller( boost::context::execution_context::current() ),
|
caller( boost::context::execution_context::current() ),
|
||||||
callee( palloc, salloc,
|
callee( palloc, salloc,
|
||||||
[=,fn=std::forward< Fn >( fn_)] () mutable -> decltype( auto) {
|
[=,fn=std::forward< Fn >( fn_)] () mutable -> void {
|
||||||
// create synthesized pull_coroutine< T >
|
// create synthesized pull_coroutine< T >
|
||||||
typename pull_coroutine< void >::control_block synthesized_cb( this);
|
typename pull_coroutine< void >::control_block synthesized_cb( this);
|
||||||
pull_coroutine< void > synthesized( & synthesized_cb);
|
pull_coroutine< void > synthesized( & synthesized_cb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user