summaryrefslogtreecommitdiff
path: root/lib/coro.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coro.h')
-rw-r--r--lib/coro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/coro.h b/lib/coro.h
index 17ccff89..b36f1d2c 100644
--- a/lib/coro.h
+++ b/lib/coro.h
@@ -25,5 +25,7 @@ struct coroutine *coro_run(pool *, void (*entry)(void *), void *data);
/* Get self. */
extern _Thread_local struct coroutine *this_coro;
+/* Just wait for a little while. Not intended for general use; use events if possible. */
+void coro_yield(void);
#endif