I wrote this originally to use with a sudo for Windows project I'm working on. It's bring-your-own-executor - you can see how I use it with Windows IO completion ports at [1]. The library itself breaks coroutines down into small pieces that can be combined to make many different kinds of tasks and generators - see how they're put together at [2]. Feel free to ask me about C++ coroutines or give feedback.

[1] https://github.com/parkovski/wsudo/blob/master/lib/common/co...

[2] https://github.com/parkovski/wscoro/blob/master/include/wsco...


Comments URL: https://news.ycombinator.com/item?id=50105718

Points: 1

# Comments: 0