-
Notifications
You must be signed in to change notification settings - Fork 12
kmalloc/coroutine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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
Watchers
Forks
Releases
No releases published
Packages 0
No packages published