diff options
| author | Tyge Løvset <[email protected]> | 2023-05-04 11:51:56 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-05-04 16:19:00 +0200 |
| commit | b03148caa1d6fc660e6e7c5986dd6fd38779bedc (patch) | |
| tree | 6e4c7972437f6e8e6fddf39b0f48a2b0ace05af8 /misc/examples/scheduler.c | |
| parent | 6b23e35287f26dad63abd755c5f365b443e025a3 (diff) | |
| download | STC-modified-b03148caa1d6fc660e6e7c5986dd6fd38779bedc.tar.gz STC-modified-b03148caa1d6fc660e6e7c5986dd6fd38779bedc.zip | |
Updates in coroutines.h: No longer *required* with cco_final:, but only when no cleanup is needed.
Diffstat (limited to 'misc/examples/scheduler.c')
| -rw-r--r-- | misc/examples/scheduler.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/examples/scheduler.c b/misc/examples/scheduler.c index db9c2716..04107d5e 100644 --- a/misc/examples/scheduler.c +++ b/misc/examples/scheduler.c @@ -42,7 +42,6 @@ static bool taskA(struct Task* task) puts("A is back doing more work"); cco_yield(resume_task(task)); puts("A is back doing even more work"); - cco_final: cco_end(true); } @@ -54,7 +53,6 @@ static bool taskB(struct Task* task) puts("B is back doing work"); cco_yield(resume_task(task)); puts("B is back doing more work"); - cco_final: cco_end(true); } |
