summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/generator.c
AgeCommit message (Collapse)Author
2023-07-20Moved examples to sub-directories. Added cotask1.c cotask2.c examples.tylov
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-07-02Update in coroutine API. cco_yield, cco_await, cco_await_on, cco_block_on ↵Tyge Løvset
has changed. cco_final: renamed => cco_cleanup: Reverted i_retain template param back to => i_more.
2023-05-24coroutine.h:Tyge Løvset
- Renamed Liigo's coroutine macro cco(x) => cco_routine(x). - Removed cco_begin(x), cco_end() macros. Replaced by cco_routine(x). - Replaced csleep_ms() with csleep_us(), using select() which is portable. - Updated all coroutine examples.
2023-05-04Updates in coroutines.h: No longer *required* with cco_final:, but only when ↵Tyge Løvset
no cleanup is needed.
2023-03-10Rename cco_alive() => cco_suspended(). Replaced cco_done() with cco_alive().Tyge Lovset
2023-03-01Reverted example moves.Tyge Løvset