diff options
Diffstat (limited to 'lib/coro.h')
-rw-r--r-- | lib/coro.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |