19 Jan
2017
19 Jan
'17
12:54 a.m.
On 19/01/2017 02:54, Oliver Kowalke wrote:
2017-01-18 2:20 GMT+01:00 Gregory Laird: I want to write a scheduler that is very similar to the example listed above where coroutines yeild back to a main caller which then chooses the next coroutine to continue its processing.
- I would use boost.context instead of boost.coroutine(2) for implementing a scheduler - boost.context contains an directory ('example') which does contains not too complicated C++ code
Boost.Fiber might also be worthwhile to look at, depending on your needs. It was added fairly recently though so you might need a newer Boost.