cppcoro
cppcoro copied to clipboard
A library of C++ coroutine abstractions for the coroutines TS
So I have this coroutine, which generates a sequence of numbers and store the generator in a variable to reuse it later, but when I do reuse it, it skips...
On Linux, valgrind complains about uninitialized bytes being passed to `write()`: ``` ==14689== Syscall param write(buf) points to uninitialised byte(s) ==14689== at 0x5C6132F: __libc_write (write.c:26) ==14689== by 0x5C6132F: write (write.c:24)...
Hi, Cppcoro failed to build due to the below error with msvc on Windows, could you look at this issue? Thanks. ``` F:\gitP\andreasbuhr\cppcoro\test\generator_tests.cpp(242,3): error C2280: 'cppcoro::generator &)': attempting to reference...
Reading the code of unlock for the async_mutex, my understanding is that if there's a long list of awaiters currently for the mutex, the mutex's holder's call to unlock will...
Hi Try Build Sample project with gcc 11.2 in linux my sample cmakelists.txt ``` cmake_minimum_required(VERSION 3.20) project(app LANGUAGES CXX) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED YES) set(CMAKE_CXX_EXTENSIONS NO) add_compile_options(-std=c++20 -fcoroutines -fconcepts) find_package(cppcoro CONFIG...
It seems that all the `socket_send_*` and `socket_recv_*` are only defined for Windows. Did I miss something?
There are some problems when using `cppcoro` from an external project: - the installed library cannot be used if the final version of C++20 coroutines is not supported by toolset;...
https://github.com/lewissbaker/cppcoro/pull/169