Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

A simple coroutine library for c++, modeling coroutine from lua.
usage:
1. create a schedluer:
CoroutineScheduler* sched = new CoroutineScheduler(1024);
2. create coroutine:
int id = sched->CreateCoroutine(func, arg);
3. run coroutine:
uintptr_t ret = sched->ResumeCoroutine(id);

About

a simple coroutine for c++

Resources

Stars

21 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages