Skip to content

cern-nextgen/wp1.7-coroutine-tests

Repository files navigation

WP 1.7 Coroutine Tests

These are some (largely) independent tests with coroutines for the task scheduling studies in Work Package 1.7.

This project isn't intended as a coroutine support library. If you're looking for a fully-fledged coroutine library, consider using cppcoro or concurrencpp.

Getting started

The project requires a C++20 compiler with coroutine support.

To build the project run:

cmake -S . -B build
cmake --build build

Building the examples using std::generator require C++23 standard:

cmake -S . -B build -DCMAKE_CXX_STANDARD=23
cmake --build build

Then run the examples, for instance:

./build/examples/generator

Development

To make experimentation easier, a skeleton coroutine is provided that includes most of the boilerplate code and can be copied and completed with your own implementation.

About

Tests with C++20 coroutines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •