summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/coroutines.c
AgeCommit message (Expand)Author
2023-07-20Moved examples to sub-directories. Added cotask1.c cotask2.c examples.tylov
2023-07-02Update in coroutine API. cco_yield, cco_await, cco_await_on, cco_block_on has...Tyge Løvset
2023-06-13Missed an updateTyge Løvset
2023-05-24coroutine.h:Tyge Løvset
2023-05-09reverted cco_await_done => cco_await_at.Tyge Lovset
2023-05-08More coroutine updates.Tyge Løvset
2023-05-04Updates in coroutines.h: No longer *required* with cco_final:, but only when ...Tyge Løvset
2023-05-03Reverted from cco_await_with(promise, ret) to cco_await(promise, ret).Tyge Løvset
2023-05-02Changed cco_with_..() API again, final.Tyge Løvset
2023-05-02Removed cco_alive(), was same as !cco_done()Tyge Løvset
2023-05-02Improved coroutine.h, added new coro examples.Tyge Løvset
2023-05-01Replaced cco_yield(corocall, ctx, retval) with cco_await(cond) and cco_await_...Tyge Løvset
2023-03-17Reuse of coroutine context requires cco_reset of state.Tyge Løvset
2023-03-01Reverted example moves.Tyge Løvset
2023-03-01Moved algorithm examples to algo folder.Tyge Løvset
2023-02-28Final cleanups on corotines.Tyge Løvset
2023-02-28Renamed cco_coroutine => overloaded cco_yield(coro, ctx, retval).Tyge Løvset
2023-02-28Fixed coroutine.h and examples. cco_return; has no arguments.Tyge Løvset
2023-02-27Enhanced c_with and c_scope macros. Improved coroutine.h and example.Tyge Løvset
2023-02-27Let cco_end(value) return value. Should be last in function anyway.Tyge Løvset
2023-02-27Simplified coroutine.h a bit and modified coroutines.cTyge Løvset
2023-02-26Addition to coroutine.h. Allow dynamic allocation of context.Tyge Løvset
2023-02-25Finish fixes in coroutine.h.Tyge Løvset
2023-02-25Renamed algo/ccoro.h => algo/coroutine.h. Using cco_ as prefix. Changed ccoro...Tyge Løvset