summaryrefslogtreecommitdiff
path: root/coroutine.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 11:18:02 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 11:18:02 -0600
commit4469398272d78adb81968178276180f16cc8e647 (patch)
treec360226922c543a5d2fd985ca1e078bb8a603f72 /coroutine.h
parent05ce08877ff420ca9fc77599dd947ff610d02cb0 (diff)
fixes for arm?
Diffstat (limited to 'coroutine.h')
-rw-r--r--coroutine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine.h b/coroutine.h
index fbaf000..13f9797 100644
--- a/coroutine.h
+++ b/coroutine.h
@@ -54,7 +54,7 @@ cid_t cr_getcid(void);
#define cr_chan_have_req(ch) ((ch)->requester != 0)
#define cr_chan_recv_req(ch, _req_p) do { \
(ch)->responder = cr_getcid(); \
- if ((ch)->requester == 0) { \
+ if ((ch)->requester == 0) \
cr_pause_and_yield(); \
*(_req_p) = (ch)->req; \
} while (0)