summaryrefslogtreecommitdiff
path: root/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine.h')
-rw-r--r--coroutine.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/coroutine.h b/coroutine.h
index 4b16b1f..d02d0f9 100644
--- a/coroutine.h
+++ b/coroutine.h
@@ -19,6 +19,9 @@
*
* See also: coroutine_rpc.h is a request/response system built on top
* of coroutine.{h,c}.
+ *
+ * See also: coroutine_chan.h is a 1-way channel system built on top
+ * of coroutine.{h,c}.
*/
#ifndef _COROUTINE_H_
#define _COROUTINE_H_
@@ -66,7 +69,7 @@ typedef size_t cid_t;
* Specifically, coroutine_add() and
* cr_{yield,pause_and_yield,exit,end}() are explicitly forbidden to
* call from within a coroutine before cr_begin() (note that the
- * cr_rpc_*() macros call these functions).
+ * cr_rpc_*() and cr_chan_*() macros call these functions).
*/
typedef void (*cr_fn_t)(void *args);
#define COROUTINE __attribute__ ((noreturn)) void