diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-24 14:16:35 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-24 14:16:35 -0600 |
commit | d282266beb71bfb9b21cf00f3025c01df7dd8e4d (patch) | |
tree | 16e5bd9f909148f68e960bbba36b55e94ea22e5e /coroutine.h | |
parent | d559c50a98e65ce889411b46ab108b392907e0f0 (diff) |
rename cr_chan to cr_rpc
Diffstat (limited to 'coroutine.h')
-rw-r--r-- | coroutine.h | 6 |
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 |