##We implemented async channel in cpp based on coroutine. files:
-
async_channel.hpp is our main header file.
-
test_thread_pool.cpp is a sample test file.
-
cppcoro : this is facebook coroutine library (https://github.com/lewissbaker/cppcoro) with little modifications by ourself.
-
sync_channel.hpp, cgo_scheduler.hpp are future work.
-
cppcoro, facebook coroutine library with slightly modifications. https://github.com/lewissbaker/cppcoro.
-
etc.
compile : clang++ -std=c++17 -fcoroutines-ts target.cpp -stdlib=libc++ -L/path-to-lib/cppcoro/build/linux_x64_clang9.0.0_optimised/lib -I/path-to-include/cppcoro/include -lcppcoro -lpthread
source : ThreadPool.h is from https://github.com/progschj/ThreadPool/