Skip to content

mfichman/coro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Modern coroutine library for C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages