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