2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-14 12:42:28 +00:00

move 'fm_' - free functions into fiber_manager

This commit is contained in:
Oliver Kowalke
2015-02-08 16:02:22 +01:00
parent 5a0f9394e8
commit aa337b07f7
18 changed files with 203 additions and 259 deletions

View File

@@ -25,7 +25,7 @@ namespace fibers {
void
fiber::start_() {
impl_->set_ready();
fm_spawn( impl_.get() );
detail::scheduler::instance()->spawn( impl_.get() );
}
bool
@@ -56,7 +56,7 @@ fiber::join() {
"boost fiber: fiber not joinable");
}
fm_join( impl_.get() );
detail::scheduler::instance()->join( impl_.get() );
// check if joined fiber was interrupted
std::exception_ptr except( impl_->get_exception() );