coroutine: coroutine_error + coroutine_errc

[SVN r85139]
This commit is contained in:
Oliver Kowalke
2013-07-23 19:49:38 +00:00
parent 01235d2ee7
commit 4c4f2afbd5
20 changed files with 279 additions and 71 deletions

View File

@@ -32,17 +32,17 @@ void bar( int i)
}
#ifdef BOOST_COROUTINES_UNIDIRECT
void foo( boost::coroutines::coroutine< void >::pull_type & c)
void foo( boost::coroutines::coroutine< void >::pull_type & source)
{
bar( count);
c();
source();
}
void thread_fn()
{
{
boost::coroutines::coroutine< void >::push_type c( foo);
c();
boost::coroutines::coroutine< void >::push_type sink( foo);
sink();
}
}
#else