summaryrefslogtreecommitdiffhomepage
path: root/include/stc/coroutine.h
AgeCommit message (Collapse)Author
2023-08-11Minor internals.Tyge Løvset
2023-08-08Reverted cco_cleanup => cco_final. (cco_cleanup deprecated).Tyge Løvset
Updated generator.c example. Misc internal refactoring.
2023-08-01Last minute API change for coroutines before V4.3 release:Tyge Løvset
- Renamed cco_xxxx_await() => cco_await_xxxx() (call, task, sem, timer) - Renamed cco_xxxx_blocking() => cco_blocking_xxxx() (call, task) - Renamed cco_task_resume() => cco_resume_task() - Simplified cco_blocking_call()
2023-08-01Fixed bug in cco_call_await() test.tylov
2023-07-31Renamed cco_generator() => cco_iter_struct(). More in line with ↵tylov
cco_task_struct() macro.
2023-07-30Added cco_generator(Name, ...) macro to simplify defining the iterator ↵tylov
struct. Updated example generator.c
2023-07-27An improvement in cvec/cdeq insert_uninit() impl.tylov
2023-07-21NB! Changed some coroutine API for consistency/simplicity: Added full task ↵tylov
support.
2023-07-21Renamed badly abbreviated names in crand.h.tylov
Moved coroutine.h from algo subfolder to stc. Updated coroutine.h and docs.