Registry / async / co
library2.0.3vcpkgunverified

A go-style coroutine library in C++11 and more

vcpkg install co
INSTALL
IMPORT
SIG · CO
C
co
asynccppv2.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

co/co.h
#include <co/co.h>

Create and run a coroutine

#include "co/co.h" #include <iostream> int main() { go([]() { std::cout << "Hello from coroutine\n"; }); co::sleep(100); return 0; }
Debug
Known issues
gotchaRequires C++11 or later and platform-specific threading support
fix
Ensure compiler supports C++11 threads and set CO_USE_PTHREADS or CO_USE_WIN32_THREADS
affects: *
Upgrade
Version history
2.0.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
36
OpenAI (training)
1
Resources

No resource links recorded.

co — pip install co · libregistry