From 97614393e450b6c6813021f0e733b864a6265872 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 1 Mar 2017 21:18:58 -0800 Subject: Start of msgq aio. --- src/platform/posix/posix_aiothr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platform') diff --git a/src/platform/posix/posix_aiothr.c b/src/platform/posix/posix_aiothr.c index 8378eb79..013e4599 100644 --- a/src/platform/posix/posix_aiothr.c +++ b/src/platform/posix/posix_aiothr.c @@ -64,7 +64,7 @@ nni_plat_aiothr_write(int fd, nni_aio *aio) aio->a_count += n; progress += n; while (n) { - // If we didn't finish the at once, try again. + // If we didn't finish it yet, try again. if (n < iovp->iov_len) { iovp->iov_len -= n; iovp->iov_base += n; @@ -128,7 +128,7 @@ nni_plat_aiothr_read(int fd, nni_aio *aio) aio->a_count += n; progress += n; while (n) { - // If we didn't finish the at once, try again. + // If we didn't finish it yet, try again. if (n < iovp->iov_len) { iovp->iov_len -= n; iovp->iov_base += n; -- cgit v1.2.3-70-g09d2