From 9f5fa865f252f6d71f2d92181b17c038e2c28a8a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 2 Jul 2017 15:58:45 -0700 Subject: Remove the extra _aio_ part of pipe send and recv functions. --- src/protocol/pubsub/pub.c | 6 +++--- src/protocol/pubsub/sub.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/protocol/pubsub') diff --git a/src/protocol/pubsub/pub.c b/src/protocol/pubsub/pub.c index 2767f6b6..58d80d44 100644 --- a/src/protocol/pubsub/pub.c +++ b/src/protocol/pubsub/pub.c @@ -164,7 +164,7 @@ nni_pub_pipe_start(void *arg) nni_mtx_unlock(&pub->mtx); // Start the receiver and the queue reader. - nni_pipe_aio_recv(pp->pipe, &pp->aio_recv); + nni_pipe_recv(pp->pipe, &pp->aio_recv); nni_msgq_aio_get(pp->sendq, &pp->aio_getq); return (0); @@ -246,7 +246,7 @@ nni_pub_pipe_recv_cb(void *arg) nni_msg_free(pp->aio_recv.a_msg); pp->aio_recv.a_msg = NULL; - nni_pipe_aio_recv(pp->pipe, &pp->aio_recv); + nni_pipe_recv(pp->pipe, &pp->aio_recv); } @@ -263,7 +263,7 @@ nni_pub_pipe_getq_cb(void *arg) pp->aio_send.a_msg = pp->aio_getq.a_msg; pp->aio_getq.a_msg = NULL; - nni_pipe_aio_send(pp->pipe, &pp->aio_send); + nni_pipe_send(pp->pipe, &pp->aio_send); } diff --git a/src/protocol/pubsub/sub.c b/src/protocol/pubsub/sub.c index 5733b8f2..9e8fa5a7 100644 --- a/src/protocol/pubsub/sub.c +++ b/src/protocol/pubsub/sub.c @@ -117,7 +117,7 @@ nni_sub_pipe_start(void *arg) { nni_sub_pipe *sp = arg; - nni_pipe_aio_recv(sp->pipe, &sp->aio_recv); + nni_pipe_recv(sp->pipe, &sp->aio_recv); return (0); } @@ -163,7 +163,7 @@ nni_sub_putq_cb(void *arg) return; } - nni_pipe_aio_recv(sp->pipe, &sp->aio_recv); + nni_pipe_recv(sp->pipe, &sp->aio_recv); } -- cgit v1.2.3-70-g09d2