|
Boost : |
Subject: Re: [boost] [fiber] on schedulers and wakeups
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-09-11 07:07:09
2015-09-11 10:48 GMT+02:00 Giovanni Deretta <gpderetta_at_[hidden]>:
>
> The idea is that yield and friends would switch to the idle fiber only when
> they reach the end of the ready queue.
>
the idle-fiber executes only function idle() - why not simply execute idle()
instead of switch_context(n, this_context); at the end of
scheduler::yield()?
what are the reasons that idle() must run on an extra fiber-stack?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk