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:
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user