Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mfichman/coro

Modern coroutine library for C++
https://github.com/mfichman/coro

Last synced: 28 days ago
JSON representation

Modern coroutine library for C++

Awesome Lists containing this project

README

        

coro
====

Modern coroutine library for C++, including an async socket I/O implementation (with SSL support).

## Basic Usage

```
auto c = coro::start([]() {
std::cout << "I'm a coroutine!" << std::endl;
coro::sleep(coro::Time::millisec(100));
});
coro::run(); // runs the coroutine dispatch loop
```

Support for OS X and Windows!

## Building

```
pip install scons
cd coro
scons
```