
26 Sep
2016
26 Sep
'16
10:15 a.m.
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.