A clean C++ stackful coroutine library just like conjury.
Currently under development, ideas and suggestions are welcome! :)
- Platform: Linux or MacOS
- Compiler: whichever supports C++17
See examples
pwd # should prints 'path/to/conjure'
mkdir build
cmake ..
make -j
ls ../bin # all build outputs are in 'conjure/bin'
TODO
- The coroutine is resumed by another coroutine.
- The coroutine is waited by another coroutine.
- The coroutine explicitly suspended.
- The coroutine waits another coroutine to exit.
- The coroutine waits another coroutine to generate value.
- A coroutine explicitly waits another coroutine.
- A coroutine resumes another coroutine.
- A coroutine waits the generator value of another coroutine.
- A non-main coroutine without a return target exits. (IMPOSSIBLE)
- A coroutine without a return target yield. (CURRENTLY IMPOSSIBLE)
- A coroutine waits another coroutine who is not executable.