summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/coroutines/cotasks1.c
AgeCommit message (Collapse)Author
2023-08-17Renamed "internal" csview member .str => .buf, as it is not null terminated ↵Tyge Lovset
like crawstr .str member.
2023-08-13Removed csview_null - use csview_init().tylov
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-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.
2023-07-20Moved examples to sub-directories. Added cotask1.c cotask2.c examples.tylov