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

Remove thread_affinity flag and access methods.

Specificaly, remove access methods in worker_fiber, fiber and this_fiber.

thread_affinity is not used by any present library code. It was intended for
use by workstealing user sched_algorithm implementations. The properties
mechanism is a better way to address scheduler-specific properties.
This commit is contained in:
Nat Goodspeed
2014-11-11 09:53:25 -05:00
parent 84c2c6abad
commit 3cb5b2a341
6 changed files with 1 additions and 51 deletions

View File

@@ -44,22 +44,6 @@ fiber::priority( int prio) BOOST_NOEXCEPT
fm_priority( impl_.get(), prio);
}
bool
fiber::thread_affinity() const BOOST_NOEXCEPT
{
BOOST_ASSERT( impl_);
return impl_->thread_affinity();
}
void
fiber::thread_affinity( bool req) BOOST_NOEXCEPT
{
BOOST_ASSERT( impl_);
impl_->thread_affinity( req);
}
void
fiber::join()
{