libcoro icon indicating copy to clipboard operation
libcoro copied to clipboard

C++20 coroutine library

Results 20 libcoro issues
Sort by recently updated
recently updated
newest added

Would you like to provide some tcp echo server code so I can add a comparison into our [project](https://github.com/alibaba/PhotonLibOS#21-tcp).

Right now in the example test_tcp_server.cpp:85 it passes the ssl contexts into the schedulers and clients by reference, this should ideally be by shared_ptr copy since the lifetimes are now...

enhancement

This is my code now: https://gist.github.com/niansa/b2d589e1ed67c44e753414298f30404c#file-gistfile1-txt-L67 For some reason using `poll()` is extremely slow here and I have to catch `EAGAIN`. BTW: I figured out that each `poll(coro::poll_op::read)` takes exactly...

I believe there is a race condition in `coro::ring_buffer` between the `await_ready` and `await_suspend` methods. The lock is released in `await_ready` and re-acquired in `await_suspend`. When a reader and a...

Not sure if that's a bug or a feature. Consider the following program (using `libcoro` from `v0.11.1` and `main`): ```cpp #include #include #include coro::generator Naturals() { auto n = 0z;...

This reverts commit f6b9b7f72f5e0447e40491bad16038c7e0c0254d. This commit needs to include package manager creation for conan and vcpkg before it can be merged since it broke building for at lesat conan.

* last two LTS (probably also time to prune some of the fedora builds) * last two major compiler versions * up to one major C++ standard version (e.g. if...

They don't need to use `coro::io_scheduler` directly, this would allow for a user executor to be used in its place.