diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-15 08:42:24 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-15 08:42:24 -0600 |
commit | 802ed1e3cd0252cafd1be2aada0addf4d3f7eb2e (patch) | |
tree | 70f49ed30f0f9839709a093c6af54661eeaad4ee /libcr_ipc/tests/test_select.c | |
parent | 0450e14b3a86e4448537c03253eeebf509f8909e (diff) | |
parent | 32a1b710b40ce9d53cd0a7bc0c183da87e07f397 (diff) |
Diffstat (limited to 'libcr_ipc/tests/test_select.c')
-rw-r--r-- | libcr_ipc/tests/test_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcr_ipc/tests/test_select.c b/libcr_ipc/tests/test_select.c index 1db645b..f0a71a3 100644 --- a/libcr_ipc/tests/test_select.c +++ b/libcr_ipc/tests/test_select.c @@ -65,7 +65,7 @@ COROUTINE cr_producer(void *_n) { int n = *(int *)_n; cr_begin(); - intchan_send(&ch[n], n); + cr_chan_send(&ch[n], n); cr_end(); } @@ -73,7 +73,7 @@ COROUTINE cr_producer(void *_n) { COROUTINE cr_final(void *) { cr_begin(); - int ret = intchan_recv(&fch); + int ret = cr_chan_recv(&fch); printf("ret=%d\n", ret); test_assert(ret == 567); |