How to implement a practical fiber scheduler?

前端 未结 5 1205
独厮守ぢ
独厮守ぢ 2020-12-30 09:29

I know the very basics about using coroutines as a base and implementing a toy scheduler. But I assume it\'s oversimplified view about asynchronous schedulers in whole. Ther

5条回答
  •  时光说笑
    2020-12-30 10:26

    You can control controlflow also via the use of coroutines. A library that supports the creation of those is BOOST.ASIO.

    A good example is available here: Boost Stackful Coroutines

提交回复
热议问题