Boost logo

Boost Users :

Subject: Re: [Boost-users] Fwd: Boost coroutine/context libraries
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2017-01-18 19:54:09


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net