summaryrefslogtreecommitdiff
path: root/coroutine.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-24 14:16:35 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-24 14:16:35 -0600
commitd282266beb71bfb9b21cf00f3025c01df7dd8e4d (patch)
tree16e5bd9f909148f68e960bbba36b55e94ea22e5e /coroutine.h
parentd559c50a98e65ce889411b46ab108b392907e0f0 (diff)
rename cr_chan to cr_rpc
Diffstat (limited to 'coroutine.h')
-rw-r--r--coroutine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/coroutine.h b/coroutine.h
index d34ff2e..4b16b1f 100644
--- a/coroutine.h
+++ b/coroutine.h
@@ -17,8 +17,8 @@
* as normal C functions and do not forbid switch() blocks in
* coroutines.
*
- * See also: coroutine_chan.h is a request/response system built on
- * top of coroutine.{h,c}.
+ * See also: coroutine_rpc.h is a request/response system built on top
+ * of coroutine.{h,c}.
*/
#ifndef _COROUTINE_H_
#define _COROUTINE_H_
@@ -66,7 +66,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_chan_*() macros call these functions).
+ * cr_rpc_*() macros call these functions).
*/
typedef void (*cr_fn_t)(void *args);
#define COROUTINE __attribute__ ((noreturn)) void