On Tuesday, 28 October 2014 at 07:59:32 UTC, Martin Nowak wrote:
On Monday, 27 October 2014 at 16:32:25 UTC, Sean Kelly wrote:
That's the reason why the await adapter is so powerful.
It's should be possible to await a promise (future) to let the
scheduler know that it should resume the Fiber only after the
promise (future) was set.
What's in the guts of the await adapter is the important part. I
already have that from a functional standpoint within the
Scheduler, but the thread is basically polling state, which is
terribly inefficient.