asyncplusplus

Concurrency framework for C++11 providing lightweight task scheduling

brewmacoslinux
Try with needOr install directly
Source

About

Concurrency framework for C++11

Commands

asyncplusplus

Examples

Include asyncplusplus headers in C++ project compilation$ clang++ -std=c++11 -I$(brew --prefix asyncplusplus)/include myprogram.cpp -o myprogram
Link against asyncplusplus library in CMake project$ find_package(asyncplusplus REQUIRED) and target_link_libraries(myapp async++)
Create parallel tasks using asyncplusplus in C++ code$ async::parallel_for(async::range(0, 100), [](int i) { /* process i */ });