aboutsummaryrefslogtreecommitdiff
path: root/src/platform
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-01 21:18:58 -0800
committerGarrett D'Amore <garrett@damore.org>2017-03-01 21:18:58 -0800
commit97614393e450b6c6813021f0e733b864a6265872 (patch)
tree31c8d4d0b2206e944f797b291660d8cf52eebea0 /src/platform
parent5436cc9e1619bf1dd80fabb568aac344ae65d406 (diff)
downloadnng-97614393e450b6c6813021f0e733b864a6265872.tar.gz
nng-97614393e450b6c6813021f0e733b864a6265872.tar.bz2
nng-97614393e450b6c6813021f0e733b864a6265872.zip
Start of msgq aio.
Diffstat (limited to 'src/platform')
-rw-r--r--src/platform/posix/posix_aiothr.c4
1 files changed, 2 insertions, 2 deletions
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;