Subject: Re: [boost] [fiber] Suggestions regarding asio
From: Tatsuyuki Ishi (ishitatsuyuki_at_[hidden])
Date: 2016-09-26 06:15:23


The attached file is a reference implementation. I haven't really test that.

I have noticed some tricky things:
The timer queue is not work-steal aware. Maybe it should be managed by the
algorithm. Asio's timer can be used for my case as an alternative.
Scheduler destruct order fiasco: static or memory-leak or shared_ptr(I
found it hard to match my design). The problem is that scheduler is
destroyed after main() scope.