mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-20 02:32:19 +00:00
re-add previously removed context::attach()
This commit is contained in:
@@ -437,6 +437,12 @@ context::wait_unlink() noexcept {
|
||||
wait_hook_.unlink();
|
||||
}
|
||||
|
||||
void
|
||||
context::attach( context * ctx) {
|
||||
BOOST_ASSERT( nullptr != ctx);
|
||||
scheduler_->attach_worker_context( ctx);
|
||||
}
|
||||
|
||||
void
|
||||
context::migrate( context * ctx) {
|
||||
BOOST_ASSERT( nullptr != ctx);
|
||||
|
||||
Reference in New Issue
Block a user