|
|
|
|
|
by regi
4621 days ago
|
|
You show me yours, I show you mine ;) https://github.com/reginaldl/librinoo Just to comment on your post, as using blocking calls in coroutine might be a nice feature I think it defeats the whole concept of coroutine. I might be missing the point but this kind of library is absolutely great for asynchronous network calls and in this specific case the library provides a whole set of functions like read/write/connect/accept etc... I like the idea of being able to schedule coroutines on multiple threads though. In librinoo, I have the concept of 'scheduler'. A scheduler handles a set of coroutines and you can one scheduler per thread (that I called 'spawning'). Those libs are just awesome to quickly create scalable network programs. Well done. |
|