diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-11-09 23:20:38 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-11-09 23:20:38 -0800 |
| commit | af4c08675825fbf28f64b6ea4af6a1b9f0576f23 (patch) | |
| tree | b7349ef6889623d6c1962ad9740f8cb5ab0bc0dc /src/protocol | |
| parent | 2a55e0a279a0b94e204e0ffead73505100a0481f (diff) | |
| download | nng-af4c08675825fbf28f64b6ea4af6a1b9f0576f23.tar.gz nng-af4c08675825fbf28f64b6ea4af6a1b9f0576f23.tar.bz2 nng-af4c08675825fbf28f64b6ea4af6a1b9f0576f23.zip | |
Minor spelling tweaks for the aio framework.
Diffstat (limited to 'src/protocol')
| -rw-r--r-- | src/protocol/pubsub0/sub.c | 2 | ||||
| -rw-r--r-- | src/protocol/reqrep0/rep.c | 4 | ||||
| -rw-r--r-- | src/protocol/reqrep0/req.c | 4 | ||||
| -rw-r--r-- | src/protocol/survey0/respond.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/protocol/pubsub0/sub.c b/src/protocol/pubsub0/sub.c index 2cd05947..a2c40373 100644 --- a/src/protocol/pubsub0/sub.c +++ b/src/protocol/pubsub0/sub.c @@ -413,7 +413,7 @@ sub0_recv_cb(void *arg) while ((aio = nni_list_first(&finish)) != NULL) { nni_list_remove(&finish, aio); - nni_aio_finish_synch(aio, 0, len); + nni_aio_finish_sync(aio, 0, len); } if (submatch) { diff --git a/src/protocol/reqrep0/rep.c b/src/protocol/reqrep0/rep.c index 86593c26..2f10d3d6 100644 --- a/src/protocol/reqrep0/rep.c +++ b/src/protocol/reqrep0/rep.c @@ -398,7 +398,7 @@ rep0_pipe_send_cb(void *arg) nni_mtx_unlock(&s->lk); - nni_aio_finish_synch(aio, 0, len); + nni_aio_finish_sync(aio, 0, len); } static void @@ -565,7 +565,7 @@ rep0_pipe_recv_cb(void *arg) nni_mtx_unlock(&s->lk); nni_aio_set_msg(aio, msg); - nni_aio_finish_synch(aio, 0, nni_msg_len(msg)); + nni_aio_finish_sync(aio, 0, nni_msg_len(msg)); return; drop: diff --git a/src/protocol/reqrep0/req.c b/src/protocol/reqrep0/req.c index cd7132c9..fc12cb89 100644 --- a/src/protocol/reqrep0/req.c +++ b/src/protocol/reqrep0/req.c @@ -290,7 +290,7 @@ req0_send_cb(void *arg) while ((aio = nni_list_first(&sent_list)) != NULL) { nni_list_remove(&sent_list, aio); - nni_aio_finish_synch(aio, 0, 0); + nni_aio_finish_sync(aio, 0, 0); } } @@ -351,7 +351,7 @@ req0_recv_cb(void *arg) ctx->recv_aio = NULL; nni_mtx_unlock(&s->mtx); nni_aio_set_msg(aio, msg); - nni_aio_finish_synch(aio, 0, nni_msg_len(msg)); + nni_aio_finish_sync(aio, 0, nni_msg_len(msg)); } else { // No AIO, so stash msg. Receive will pick it up later. ctx->rep_msg = msg; diff --git a/src/protocol/survey0/respond.c b/src/protocol/survey0/respond.c index 7583c4d8..993e3243 100644 --- a/src/protocol/survey0/respond.c +++ b/src/protocol/survey0/respond.c @@ -395,7 +395,7 @@ resp0_pipe_send_cb(void *arg) nni_mtx_unlock(&s->mtx); - nni_aio_finish_synch(aio, 0, len); + nni_aio_finish_sync(aio, 0, len); } static void @@ -555,7 +555,7 @@ resp0_pipe_recv_cb(void *arg) nni_mtx_unlock(&s->mtx); nni_aio_set_msg(aio, msg); - nni_aio_finish_synch(aio, 0, nni_msg_len(msg)); + nni_aio_finish_sync(aio, 0, nni_msg_len(msg)); return; drop: |
