summaryrefslogtreecommitdiff
path: root/libcr/include
diff options
context:
space:
mode:
Diffstat (limited to 'libcr/include')
-rw-r--r--libcr/include/libcr/coroutine.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libcr/include/libcr/coroutine.h b/libcr/include/libcr/coroutine.h
index 47467bd..faaf6c3 100644
--- a/libcr/include/libcr/coroutine.h
+++ b/libcr/include/libcr/coroutine.h
@@ -96,9 +96,8 @@ cid_t coroutine_add(cr_fn_t fn, void *args);
* The main scheduler loop.
*
* "Should" never return, but will print a message to stderr and
- * return if the program has deadlocked and there are no runnable
- * coroutines. So be sure to call coroutine_add() at least once
- * before calling this.
+ * return if there are no coroutines (there were no calls to
+ * coroutine_add(), or all coroutines cr_exit()).
*/
void coroutine_main(void);